You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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 "<version>" 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]
|