Skip to content

Commit 8a7f19a

Browse files
committed
Added readthedocs webhook to CI
1 parent 69c1c9c commit 8a7f19a

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/CI.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,14 @@ jobs:
232232
name: DocumentationHTML
233233
path: ratspy/docs/_build/html/
234234

235-
# read_the_docs:
236-
# name: Read the Docs trigger
237-
# needs: [docs, publish]
238-
# runs-on: ubuntu-latest
239-
# steps:
240-
# - name: Trigger Read the Docs build
241-
# run: |
242-
# curl -X POST -d "branches=main" -d "token=${{ secrets.READTHEDOCS_TOKEN }}" WEBHOOK_URL
235+
read_the_docs:
236+
name: Read the Docs trigger
237+
needs: [docs, publish]
238+
runs-on: ubuntu-latest
239+
steps:
240+
- name: Trigger Read the Docs build
241+
run: |
242+
curl -X POST -d "branches=main" -d "token=${{ secrets.READTHEDOCS_TOKEN }}" https://app.readthedocs.org/api/v2/webhook/ratspy/314741/
243243
244244
rust_tests:
245245
name: Build and test rats

0 commit comments

Comments
 (0)