aboutsummaryrefslogtreecommitdiffstats
path: root/.builds/docs.yml
blob: 047f21b390e7419e6f918f3f656b193bd71757c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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