Skip to content

Commit

Permalink
Use branch name in RTD trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbowly committed Nov 14, 2024
1 parent 19c411d commit e3d622d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
env:
RTD_HOOK_TOKEN: ${{ secrets.RTD_HOOK_TOKEN }}
run: |
curl -X POST -d "branches=main" -d "token=$RTD_HOOK_TOKEN" \
curl -X POST -d "branches=${{ github.ref_name }}" -d "token=$RTD_HOOK_TOKEN" \
-d "default_branch=main" \
https://readthedocs.com/api/v2/webhook/gurobi-optimization-gurobipy-pandas/11030/

0 comments on commit e3d622d

Please sign in to comment.