We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89c6038 commit 6544ca8Copy full SHA for 6544ca8
.github/workflows/publish-to-readthedocs.yml
@@ -0,0 +1,22 @@
1
+name: "Publish Docs"
2
+
3
+on:
4
+ # Auto-trigger this workflow on tag creation
5
+ push:
6
+ tags:
7
+ - 'v*.*.*'
8
9
+jobs:
10
+ build-n-publish:
11
+ name: Build and publish Docs 📖 to Readthedocs
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Trigger Readthedocs build
16
+ env:
17
+ RTDS_ADS_PROJECT: https://readthedocs.org/api/v3/projects/accelerated-data-science
18
+ RTDS_ADS_TOKEN: ${{ secrets.RTDS_ADS_TOKEN }}
19
+ run: |
20
+ curl \
21
+ -X POST \
22
+ -H "Authorization: Token $RTDS_ADS_TOKEN" $RTDS_ADS_PROJECT/versions/${{ github.ref_name }}/builds/
0 commit comments