diff --git a/.woodpecker.yml b/.woodpecker.yml index 83e7226f..680207e8 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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