feat: conditional deploy pipeline
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Aravinth Manivannan 2022-08-16 16:38:50 +05:30
parent 6db5f34ac2
commit d80e970117
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 20 additions and 19 deletions

View File

@ -1,22 +1,23 @@
pipeline: pipeline:
buildfrontend: buildfrontend:
image: node image: node
commands: commands:
- yarn install - yarn install
- yarn test - yarn test
- yarn test:postcss - yarn test:postcss
- yarn test:sdk - yarn test:sdk
- yarn build - yarn build
deploy: deploy:
image: node image: node
commands: when:
- make ci-deploy event: push
secrets: [ gitea_write_deploy_key, librepages_deploy_secret ] branch: master
branches: commands:
include: [ master ] - make ci-deploy
secrets: [gitea_write_deploy_key, librepages_deploy_secret]
lint-frontend: lint-frontend:
image: node image: node
commands: commands:
- yarn lint-ci - yarn lint-ci