Skip to content

Commit

Permalink
Publish docs to readthedocs on commits
Browse files Browse the repository at this point in the history
  • Loading branch information
gmfeinberg authored Oct 1, 2024
1 parent 16e1882 commit 535b3b6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish-to-readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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: |
curl -X POST -d "token=$RTDS_TOKEN" $RTDS_PROJECT

0 comments on commit 535b3b6

Please sign in to comment.