From e5fa9af2b1fdb73ad7f9cd679b7408642746148f Mon Sep 17 00:00:00 2001 From: realaravinth Date: Thu, 27 Oct 2022 22:03:16 +0530 Subject: [PATCH] feat: setup CI --- .woodpecker.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..0b388c4 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,17 @@ +pipeline: + build: + image: python + when: + event: [push, pull_request, tag, deployment] + commands: + - cd website/ && make env + - cd website/ && make + + publish: + image: python + when: + event: push + branch: main + commands: + - cd website/ && make ci-deploy + secrets: [repo_write_deploy_key]