forked from mystiq/hydrogen-web
feat: conditional deploy pipeline
This commit is contained in:
parent
6db5f34ac2
commit
d80e970117
1 changed files with 20 additions and 19 deletions
|
@ -10,11 +10,12 @@ pipeline:
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: node
|
image: node
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
branch: master
|
||||||
commands:
|
commands:
|
||||||
- make ci-deploy
|
- make ci-deploy
|
||||||
secrets: [gitea_write_deploy_key, librepages_deploy_secret]
|
secrets: [gitea_write_deploy_key, librepages_deploy_secret]
|
||||||
branches:
|
|
||||||
include: [ master ]
|
|
||||||
|
|
||||||
lint-frontend:
|
lint-frontend:
|
||||||
image: node
|
image: node
|
||||||
|
|
Loading…
Reference in a new issue