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 2b66621 commit 4c28866Copy full SHA for 4c28866
.github/workflows/readthedocs.yml
@@ -22,11 +22,7 @@ jobs:
22
REF_NAME: ${{ github.ref_name }}
23
run: |
24
set -euo pipefail
25
- version="latest"
26
- if [ "$REF_TYPE" = "tag" ]; then
27
- version="$REF_NAME"
28
- fi
29
- echo "Triggering Read the Docs build for version ${version}"
+ echo "Triggering Read the Docs build for version latest"
30
curl --fail -X POST \
31
-H "Authorization: Token ${RTD_TOKEN}" \
32
- "https://readthedocs.org/api/v3/projects/${RTD_PROJECT}/versions/${version}/builds/"
+ "https://readthedocs.org/api/v3/projects/${RTD_PROJECT}/versions/latest/builds/"
0 commit comments