update ci
This commit is contained in:
+13
-7
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user