Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gmfeinberg committed Sep 27, 2024
1 parent 996b717 commit 48420b9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish-to-readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:

steps:
- name: Trigger readthedocs build
# if: github.event_name == 'push' && startsWith(github.ref_name, 'v')
# trigger build/publish of latest version
- run: curl -X POST -H "Authorization: Token $RTDS_TOKEN" $RTDS_PROJECT/versions/latest/builds/
# trigger build/publish of v*.*.* version
- run: curl -X POST -H "Authorization: Token $RTDS_TOKEN" $RTDS_PROJECT/versions/${{ github.ref_name }}/builds/
run: |
curl -X POST -H "Authorization: Token $RTDS_TOKEN" $RTDS_PROJECT/versions/latest/builds/
curl -X POST -H "Authorization: Token $RTDS_TOKEN" $RTDS_PROJECT/versions/${{ github.ref_name }}/builds/

0 comments on commit 48420b9

Please sign in to comment.