image: alpine/3.22 packages: - python3 - py3-pip - mkdocs - mkdocs-material - py3-regex - hut secrets: - ac3eecc9-8fb0-4ed4-ae53-0472c093a1f1 sources: - https://git.sr.ht/~eugenetriguba/bolt triggers: - action: email condition: failure to: builds@eugenetriguba.com tasks: - deploy: | cd bolt if ./scripts/is-branch.sh "main"; then ./scripts/deploy-docs.sh fi