Skip to content

Commit 561d334

Browse files
committed
Remove RTD release step as of now
1 parent 1860205 commit 561d334

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -92,28 +92,6 @@ jobs:
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]

0 commit comments

Comments
 (0)