From 6db5f34ac2757a2f885f8b8d443dc3e16076cb27 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Tue, 16 Aug 2022 16:36:05 +0530 Subject: [PATCH] feat: multi-pipeline workflow --- .woodpecker.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 279ff8a1..83e7226f 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,11 +3,20 @@ pipeline: image: node commands: - yarn install - - yarn lint-ci - yarn test - yarn test:postcss - yarn test:sdk - yarn build - - make ci-deploy - secrets: [ STRIPE_PUBLIC_KEY, STRIPE_SECRET_KEY ] + deploy: + image: node + commands: + - make ci-deploy + secrets: [ gitea_write_deploy_key, librepages_deploy_secret ] + branches: + include: [ master ] + + lint-frontend: + image: node + commands: + - yarn lint-ci