Skip to content

Commit 535b3b6

Browse files
authored
Publish docs to readthedocs on commits
1 parent 16e1882 commit 535b3b6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Publish Docs"
2+
3+
# To run this workflow manually from the Actions tab
4+
on: push
5+
6+
#on:
7+
# Auto-trigger this workflow on tag creation
8+
# push:
9+
# tags:
10+
# - 'v*.*.*'
11+
12+
env:
13+
RTDS_PROJECT: https://readthedocs.org/api/v2/webhook/nosql-python-sdk/279394/
14+
RTDS_TOKEN: ${{ secrets.RTD_API }}
15+
16+
jobs:
17+
build-n-publish:
18+
name: Build and publish Docs 📖 to Readthedocs
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Trigger readthedocs build
23+
run: |
24+
curl -X POST -d "token=$RTDS_TOKEN" $RTDS_PROJECT

0 commit comments

Comments
 (0)