feat: conditional deploy pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

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

View file

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