docs(ci): fix
Some checks failed
Deploy Sphinx Docs / build-and-deploy (push) Failing after 15m31s

This commit is contained in:
2026-02-10 21:32:24 +08:00
parent d4fec71f39
commit 1a73e8bd02
2 changed files with 7 additions and 2 deletions

View File

@@ -23,27 +23,31 @@ jobs:
- name: Setup uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Setup Python
run: uv python install 3.12
- name: Install Dependencies
run: |
uv sync --all-groups
uv sync --all-groups --no-progress
- name: Build Sphinx Documentation
run: |
cd docs
uv run ./build_docs.sh
uv run ./build_docs.sh zh_CN
echo "Copying builds..."
mkdir -p ../public
mkdir -p ../public/zh_CN
cp -r build/html/* ../public/
cp -r build/html_zh_CN/* ../public/zh_CN/
cd ..
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: deploy
command: deploy --config wrangler.jsonc

View File

@@ -4,3 +4,4 @@ Change content of this file and submit commits to trigger ci.
+2026-02-10 20:00
+2026-02-10 20:40
+2026-02-10 21:17
+2026-02-10 21:32