feat: setup CI
This commit is contained in:
parent
de93ced4c4
commit
e5fa9af2b1
1 changed files with 17 additions and 0 deletions
17
.woodpecker.yml
Normal file
17
.woodpecker.yml
Normal file
|
@ -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]
|
Loading…
Reference in a new issue