From 41416be580650398ed1b38b9d7489bca19c5fbab Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Mon, 9 Feb 2026 21:53:59 -0500 Subject: Add readthedocs deploy job --- .builds/deploy-docs.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .builds/deploy-docs.yml 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/ -- cgit v1.2.3