Skip to content
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 }}
jobs:
build-n-publish:
name: Build and publish Docs 📖 to Readthedocs
runs-on: ubuntu-latest
steps:
- name: Trigger readthedocs build
run: |

Check failure on line 23 in .github/workflows/publish-to-readthedocs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-to-readthedocs.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
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/