18 lines
327 B
YAML
18 lines
327 B
YAML
pipeline:
|
|
build:
|
|
image: python
|
|
when:
|
|
event: [push, pull_request, tag, deployment]
|
|
commands:
|
|
- cd website
|
|
- make env
|
|
- make
|
|
|
|
publish:
|
|
image: python
|
|
when:
|
|
event: push
|
|
branch: main
|
|
commands:
|
|
- cd website/ && make ci-deploy
|
|
secrets: [repo_write_deploy_key]
|