We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e008b2a commit 9a5f5d0Copy full SHA for 9a5f5d0
.github/workflows/docs.yml
@@ -12,15 +12,6 @@ jobs:
12
steps:
13
- name: Trigger Read the Docs Build
14
run: |
15
- # Create request body
16
- BODY='{}'
17
-
18
- # Create HMAC-SHA256 signature
19
- SIGNATURE=$(echo -n "$BODY" | openssl dgst -sha256 -hmac "${{ secrets.RTD_WEBHOOK_TOKEN }}" -binary | xxd -p -c 256)
20
21
- # Send request to Read the Docs webhook
22
curl -X POST \
23
- -H "X-RTD-Signature: sha256=$SIGNATURE" \
24
- -H "Content-Type: application/json" \
25
- -d "$BODY" \
26
- https://app.readthedocs.org/api/v2/webhook/python-ics/319966/
+ -H "Authorization: Token ${{ secrets.RTD_API_TOKEN }}" \
+ https://app.readthedocs.org/api/v3/projects/python-ics/versions/master/builds/
0 commit comments