We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f68d6d3 commit 9197dbfCopy full SHA for 9197dbf
.github/workflows/docs.yml
@@ -29,3 +29,14 @@ jobs:
29
git add .
30
git commit -m 'docs'
31
git push origin docs/${{ steps.get-git-tag.outputs.git-tag }} -f
32
+ - name: Trigger build of documentation
33
+ run: |
34
+ curl -X POST -H "Authorization: Token ${{ secrets.RTD_TOKEN }}" https://readthedocs.org/api/v3/projects/eva-python-sdk/versions/docs-${{ steps.get-git-tag.outputs.git-tag }}/builds/
35
+ - name: Make new documentation the default version
36
37
+ curl \
38
+ -X PATCH \
39
+ -H "Authorization: Token ${{ secrets.RTD_TOKEN }}" https://readthedocs.org/api/v3/projects/eva-python-sdk/ \
40
+ -H "Content-Type: application/json" \
41
+ -d '{"default_version": "docs-${{ steps.get-git-tag.outputs.git-tag }}"}'
42
+
0 commit comments