This commit is contained in:
parent
3de47aa3e3
commit
10b91991a9
|
@ -1,5 +1,5 @@
|
|||
steps:
|
||||
check-tag:
|
||||
"Verify tag and app version":
|
||||
image: alpine
|
||||
commands:
|
||||
- TAG=${CI_COMMIT_TAG/v//}
|
||||
|
@ -7,7 +7,7 @@ steps:
|
|||
when:
|
||||
event: [tag]
|
||||
|
||||
dependencies:
|
||||
"Install dependencies":
|
||||
image: node:16
|
||||
pull: true
|
||||
commands:
|
||||
|
@ -16,13 +16,13 @@ steps:
|
|||
event: [tag, push, pull_request, manual]
|
||||
branch: [master, develop, feature/*, fix/*, bugfix/*, translations]
|
||||
|
||||
osv-detector:
|
||||
"Check dependencies":
|
||||
image: gitnet.fr/deblan/osv-detector:v0.10
|
||||
commands:
|
||||
- osv-detector package-lock.json
|
||||
failure: ignore
|
||||
|
||||
build-js:
|
||||
"Build JS":
|
||||
image: node:16
|
||||
commands:
|
||||
- npm run build
|
||||
|
@ -30,7 +30,7 @@ steps:
|
|||
event: [tag, push, pull_request, manual]
|
||||
branch: [master, develop, feature/*, fix/*, bugfix/*, translations]
|
||||
|
||||
build-translations:
|
||||
"Build translations":
|
||||
image: deblan/php:8.0
|
||||
commands:
|
||||
- php bin/generate_l10n.php
|
||||
|
@ -38,7 +38,7 @@ steps:
|
|||
event: [tag, push, pull_request, manual]
|
||||
branch: [master, develop, feature/*, fix/*, bugfix/*, translations]
|
||||
|
||||
create-signature:
|
||||
"Create signature":
|
||||
image: nextcloud:25
|
||||
secrets: [app_certificate, app_public_certificate]
|
||||
environment:
|
||||
|
@ -73,7 +73,7 @@ steps:
|
|||
# when:
|
||||
# event: [pull_request]
|
||||
|
||||
create-package:
|
||||
"Create package":
|
||||
image: deblan/php:8.0
|
||||
volumes:
|
||||
- /var/www/html/artifacts:/var/www/html/artifacts
|
||||
|
@ -89,7 +89,7 @@ steps:
|
|||
when:
|
||||
event: [tag]
|
||||
|
||||
push-release:
|
||||
"Push release":
|
||||
image: plugins/gitea-release
|
||||
volumes:
|
||||
- /var/www/html/artifacts:/var/www/html/artifacts
|
||||
|
|
Loading…
Reference in a new issue