Skip to content

Commit 6723861

Browse files
authored
ci: remove redundant cd job pages (#97)
Signed-off-by: l.feng <[email protected]>
1 parent fdc80e4 commit 6723861

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

.github/workflows/cd.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -104,41 +104,3 @@ jobs:
104104
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
105105
with:
106106
password: ${{ secrets.PYPI_API_TOKEN }}
107-
108-
pages:
109-
name: Deploy to GitHub Pages
110-
runs-on: ubuntu-24.04
111-
if: ${{ github.ref_name == github.event.repository.default_branch || (github.event_name == 'release' && github.event.action == 'published') }}
112-
permissions:
113-
contents: write
114-
id-token: write
115-
timeout-minutes: 15
116-
117-
steps:
118-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
119-
with:
120-
token: ${{ secrets.GITHUB_TOKEN }}
121-
ref: ${{ github.head_ref }}
122-
123-
- name: Cache
124-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
125-
with:
126-
path: |
127-
~/vcpkg
128-
~/.cache/pip
129-
~/.cache/vcpkg
130-
key: cd-pages-${{ hashFiles('vcpkg.json') }}
131-
restore-keys: cd-pages-${{ hashFiles('vcpkg.json') }}
132-
133-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
134-
with:
135-
python-version: 3.x
136-
137-
- name: Build Docs
138-
run: pipx run nox -s docs
139-
140-
- name: Deploy to GitHub Pages
141-
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
142-
with:
143-
github_token: ${{ secrets.GITHUB_TOKEN }}
144-
publish_dir: ./docs/_build/html

0 commit comments

Comments
 (0)