summaryrefslogtreecommitdiffstats
path: root/.builds/deploy-docs.yml
blob: 6d2baff2e9e6dda532b9b0925c08ef9849ca19d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
image: alpine/3.23
submitter:
  git.sr.ht:
    enabled: true
    allow-refs:
      - refs/heads/main
packages:
  - curl
secrets:
  - ec2e84bc-d0b6-44ca-8294-1cf3443fa458
sources:
  - https://git.sr.ht/~eugenetriguba/lirc
tasks:
  - notify-rtd: |
      set +x
      TOKEN=$(cat ~/.rtd-token)
      curl \
        --request POST \
        --data "token=$TOKEN" \
        --data "branches=main" \
        https://app.readthedocs.org/api/v2/webhook/lirc/319324/