File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 8181 --arg description "${{ github.event.repository.description }}" \
8282 '{default_branch: $default_branch}')
8383
84+ # change the default branch to the latest release
8485 curl \
8586 -X PATCH \
8687 -H "Authorization: Token ${RTD_TOKEN}" \
87- https://readthedocs.org/api/v3/projects/${RTD_SLUG}/ \
8888 -H "Content-Type: application/json" \
89+ https://readthedocs.org/api/v3/projects/${RTD_SLUG}/ \
8990 -d "$json_body"
91+
92+ # trigger a build for the latest version
93+ curl \
94+ -X POST \
95+ -H "Authorization: Token ${RTD_TOKEN}" \
96+ https://readthedocs.org/api/v3/projects/${RTD_SLUG}/versions/latest/builds/
You can’t perform that action at this time.
0 commit comments