aboutsummaryrefslogtreecommitdiffstats
path: root/.builds/docs.yml
blob: 4316feb38b7d6ab440bf8c5f2858c6c9a421b87c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
image: alpine/3.22
packages:
  - python3
  - py3-pip
  - mkdocs
  - mkdocs-material
  - py3-regex
  - hut
  - jq
  - rsync
  - git
secrets:
  - ac3eecc9-8fb0-4ed4-ae53-0472c093a1f1
sources:
  - https://git.sr.ht/~eugenetriguba/bolt
tasks:
  - deploy: |
      cd bolt

      if git describe --exact-match --tags HEAD 2>/dev/null; then
        export VERSION=$(git describe --exact-match --tags HEAD)
      else
        export VERSION=latest
      fi

      ./scripts/deploy-docs.sh