website/.woodpecker.yml

15 lines
492 B
YAML

pipeline:
build:
image: python
when:
event: [ push, pull_request, tag, deployment ]
commands:
- git config --global user.email "$CI_COMMIT_AUTHOR_EMAIL"
- git config --global user.name "$CI_COMMIT_AUTHOR"
- make env
- make
- ./scripts/zola.sh deploy pages public "$CI_COMMIT_AUTHOR <$CI_COMMIT_AUTHOR_EMAIL>"
- ./scripts/ci.sh --init $HOSTEA_WRITE_DEPLOY_KEY
- ./scripts/ci.sh --deploy $PAGES_DEPLOY_SECRET pages
- ./scripts/ci.sh --clean