This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user