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:
image: node
when:
event: push
branch: master
commands:
- make ci-deploy
secrets: [ gitea_write_deploy_key, librepages_deploy_secret ]
branches:
include: [ master ]
secrets: [gitea_write_deploy_key, librepages_deploy_secret]
lint-frontend:
image: node