.woodpecker.yml 480 B

1234567891011121314151617181920212223
  1. steps:
  2. deploy-dry:
  3. image: alpine:edge
  4. commands:
  5. - apk add bash git pipx zola
  6. - pipx run bikeshed update
  7. - bash build.sh
  8. - git diff
  9. when:
  10. event: ["push", "pull_request"]
  11. deploy:
  12. image: alpine:edge
  13. commands:
  14. - apk add bash git pipx zola
  15. - pipx run bikeshed update
  16. - bash build.sh
  17. - bash deploy.sh
  18. secrets: ["bot_token"]
  19. when:
  20. event: ["push", "tag"]
  21. branch: ${CI_REPO_DEFAULT_BRANCH}