Skip to content

Commit 3f1573e

Browse files
committed
Fix action
1 parent b72f06e commit 3f1573e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/publish-to-readthedocs.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ jobs:
2121
steps:
2222
- name: Trigger readthedocs build
2323
run: |
24-
curl -X POST -H "Authorization: Token $RTDS_TOKEN" $RTDS_PROJECT/versions/latest/builds/
25-
curl -X POST -H "Authorization: Token $RTDS_TOKEN" $RTDS_PROJECT/versions/${{ github.ref_name }}/builds/
24+
curl -X POST -d "token=$RTDS_TOKEN" -d "default_branch=main" $RTDS_PROJECT

0 commit comments

Comments
 (0)