File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ on: push
10
10
# - 'v*.*.*'
11
11
12
12
env :
13
- RTDS_PROJECT : https://readthedocs.org/api/v2/webhook/nosql-python-sdk/279394
13
+ RTDS_PROJECT : https://readthedocs.org/api/v2/webhook/nosql-python-sdk/279394/
14
14
RTDS_TOKEN : ${{ secrets.RTD_API }}
15
15
NO_TOKEN : ${{ secrets.NOT_HERE }}
16
16
22
22
steps :
23
23
- name : Trigger readthedocs build
24
24
run : |
25
- #echo "token is $RTDS_TOKEN proj is $RTDS_PROJECT no token is $NO_TOKEN"
26
- code=`curl --write-out '%{http_code}' -X POST -d "token=$RTDS_TOKEN" -d "default_branch=main" $RTDS_PROJECT`
25
+ #echo "token is $RTDS_TOKEN proj is $RTDS_PROJECT no token is
26
+ #$NO_TOKEN"
27
+ 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/`
28
+ #code=`curl --write-out '%{http_code}' -X POST -d "token=$RTDS_TOKEN" -d "default_branch=main" $RTDS_PROJECT`
27
29
echo $code
28
30
echo "curl ran : $code"
You can’t perform that action at this time.
0 commit comments