update ci

This commit is contained in:
Simon Vieille
2022-07-26 14:31:01 +02:00
parent 293e4bf62b
commit 48737c5300
2 changed files with 14 additions and 8 deletions
+13 -7
View File
@@ -5,9 +5,6 @@ pipeline:
- npm install
when:
branch: [master, develop, feature/*]
event:
- push
- pull_request
build:
image: deblan/devenv
@@ -15,11 +12,8 @@ pipeline:
- make npm-build
when:
branch: [develop, feature/*]
event:
- push
- pull_request
release:
package:
image: deblan/devenv
volumes:
- /var/www/html/artifacts:/var/www/html/artifacts
@@ -32,3 +26,15 @@ pipeline:
- make release
when:
branch: [master]
release:
image: plugins/gitea-release
volumes:
- /var/www/html/artifacts:/var/www/html/artifacts
settings:
api_key:
from_secret: gitnet_api_key
base_url: https://gitnet.fr
files: "/var/www/html/artifacts/deblan/side_menu/${CI_COMMIT_TAG}/*"
when:
event: [tag]