pipeline: dependencies: image: deblan/devenv commands: - npm install when: branch: [master, develop, feature/*] event: - push - pull_request build: image: deblan/devenv commands: - make npm-build when: branch: [develop, feature/*] event: - push - pull_request release: image: deblan/devenv volumes: - /var/www/html/artifacts:/var/www/html/artifacts secrets: [app_certificate] commands: - mkdir -p "$HOME/.nextcloud/certificates" - echo "$APP_CERTIFICATE" > "$HOME/.nextcloud/certificates/side_menu.key" - export VERSION=$(grep "" appinfo/info.xml | grep -o "[0-9]*\.[0-9]*\.[0-9]*" --color=never) - export RELEASE_DIRECTORY="/var/www/html/artifacts/deblan/side_menu" - make release when: branch: [master]