abc #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Publish Docs" | |
# To run this workflow manually from the Actions tab | |
on: push | |
#on: | |
# Auto-trigger this workflow on tag creation | |
# push: | |
# tags: | |
# - 'v*.*.*' | |
env: | |
RTDS_PROJECT: https://readthedocs.org/api/v2/webhook/nosql-python-sdk/279394 | |
RTDS_TOKEN: ${{ secrets.RTD_API }} | |
NO_TOKEN: ${{ secrets.NOT_HERE }} | |
jobs: | |
build-n-publish: | |
name: Build and publish Docs 📖 to Readthedocs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger readthedocs build | |
run: | | |
echo "token is $RTDS_TOKEN proj is $RTDS_PROJECT no token is $NO_TOKEN" | |
curl -v -X POST -d "token=$RTDS_TOKEN" -d "default_branch=main" $RTDS_PROJECT >& $HOME/curl.out | |
cat $HOME/curl.out | |
echo `cat $HOME/curl.out` | |
echo "curl ran : $coutput" |