summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-02-09 21:53:59 -0500
committerEugene Triguba <hello@eugenetriguba.com>2026-02-09 21:53:59 -0500
commit41416be580650398ed1b38b9d7489bca19c5fbab (patch)
tree3224787a648755f26066ebfd36b2e17a6ad9a135
parentRestrict lint-and-test workflow to main branch (diff)
downloadlirc-41416be580650398ed1b38b9d7489bca19c5fbab.zip
Add readthedocs deploy job
-rw-r--r--.builds/deploy-docs.yml21
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/