feat: conditional deploy pipeline

This commit is contained in:
Aravinth Manivannan 2022-08-16 16:38:50 +05:30
parent 6db5f34ac2
commit d80e970117
Signed by untrusted user: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -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