File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 9292 TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
9393 run : twine upload dist/*
9494
95- docs :
96- name : Deploy docs to Read the Docs
97- needs : [publish]
98- runs-on : ubuntu-latest
99- steps :
100- - name : Trigger Read the Docs build
101- run : |
102- VERSION=${GITHUB_REF_NAME#v}
103- # Activate and build the tagged version
104- curl -sf -X PATCH \
105- -H "Authorization: Token ${{ secrets.READTHEDOCS_TOKEN }}" \
106- -H "Content-Type: application/json" \
107- -d '{"active": true}' \
108- "https://readthedocs.org/api/v3/projects/serpapi-python/versions/v${VERSION}/" || true
109- curl -sf -X POST \
110- -H "Authorization: Token ${{ secrets.READTHEDOCS_TOKEN }}" \
111- "https://readthedocs.org/api/v3/projects/serpapi-python/versions/v${VERSION}/builds/"
112- # Also rebuild stable/latest
113- curl -sf -X POST \
114- -H "Authorization: Token ${{ secrets.READTHEDOCS_TOKEN }}" \
115- "https://readthedocs.org/api/v3/projects/serpapi-python/versions/stable/builds/" || true
116-
11795 smoke-test :
11896 name : Smoke test published package
11997 needs : [publish]
You can’t perform that action at this time.
0 commit comments