diff options
Diffstat (limited to '.builds/deploy-docs.yml')
| -rw-r--r-- | .builds/deploy-docs.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.builds/deploy-docs.yml b/.builds/deploy-docs.yml new file mode 100644 index 0000000..6d2baff --- /dev/null +++ b/.builds/deploy-docs.yml @@ -0,0 +1,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/ |