Skip to content

Commit 74d771d

Browse files
authored
Remove cloudflare steps from docs build (#2200)
Cloudflare docs steps no longer needed. Docs site is continously deployed from docs-pages branch from netlify.
1 parent c6e5894 commit 74d771d

File tree

2 files changed

+3
-40
lines changed

2 files changed

+3
-40
lines changed

.github/workflows/docs_build.yml

+3-16
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
version: { type: string, required: false, description: "The version to build (used in git and pypi). git-tag='v{version}-docs'. If not specified then use selected branch and wheel from the last successful build."}
66
latest: { type: boolean, required: false, description: Alias this version as the 'latest' stable docs. This should be set for the latest stable release.}
77
deploy: { type: boolean, required: false, description: Push the built docs to the docs-pages branch on github.}
8-
8+
99
jobs:
1010
docs_build:
1111
runs-on: ubuntu-22.04
@@ -34,7 +34,7 @@ jobs:
3434
prefix = {"CPython": "cp", "PyPy": "pp"}[platform.python_implementation()]
3535
v = platform.python_version_tuple()
3636
print(f"PY_IMPL={prefix}{v[0]}{v[1]}")' | tee -a $GITHUB_ENV
37-
37+
3838
- id: download-wheel-artifact
3939
name: Download wheel artifact from last successful build
4040
if: ${{!inputs.version}}
@@ -75,7 +75,7 @@ jobs:
7575
cd docs/mkdocs
7676
mike list
7777
78-
- name: Versioned mkDocs build
78+
- name: Versioned mkDocs build
7979
run: |
8080
set -x
8181
cd docs/mkdocs
@@ -91,16 +91,3 @@ jobs:
9191
set -x
9292
cd docs/mkdocs
9393
mike list
94-
95-
- name: Checkout docs-pages branch
96-
run: git checkout docs-pages
97-
98-
- name: Deploy Docs to TestPypi
99-
uses: cloudflare/[email protected]
100-
with:
101-
apiToken: ${{secrets.CLOUDFLARE_API_TOKEN}}
102-
accountId: ${{vars.CLOUDFLARE_ACCOUNT_ID}}
103-
projectName: ${{vars.CLOUDFLARE_PAGES_PROJECT}}
104-
directory: .
105-
branch: test
106-

.github/workflows/docs_publish.yml

-24
This file was deleted.

0 commit comments

Comments
 (0)