Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
gmfeinberg committed Oct 1, 2024
1 parent 6114d8f commit 487288c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish-to-readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on: push
# - 'v*.*.*'

env:
RTDS_PROJECT: https://readthedocs.org/api/v2/webhook/nosql-python-sdk/279394
RTDS_PROJECT: https://readthedocs.org/api/v2/webhook/nosql-python-sdk/279394/
RTDS_TOKEN: ${{ secrets.RTD_API }}
NO_TOKEN: ${{ secrets.NOT_HERE }}

Expand All @@ -22,7 +22,9 @@ jobs:
steps:
- name: Trigger readthedocs build
run: |
#echo "token is $RTDS_TOKEN proj is $RTDS_PROJECT no token is $NO_TOKEN"
code=`curl --write-out '%{http_code}' -X POST -d "token=$RTDS_TOKEN" -d "default_branch=main" $RTDS_PROJECT`
#echo "token is $RTDS_TOKEN proj is $RTDS_PROJECT no token is
#$NO_TOKEN"
code=`curl --write-out '%{http_code}' -X POST -d "token=$RTDS_TOKEN" -d "default_branch=main" https://readthedocs.org/api/v2/webhook/nosql-python-sdk/279394/`
#code=`curl --write-out '%{http_code}' -X POST -d "token=$RTDS_TOKEN" -d "default_branch=main" $RTDS_PROJECT`
echo $code
echo "curl ran : $code"

0 comments on commit 487288c

Please sign in to comment.