Skip to content

Commit 6e4ecc1

Browse files
authored
Update deployment workflow for Cloudflare Pages
1 parent f3168cb commit 6e4ecc1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
node-version: 20
2626

2727
- name: Install Dependencies
28-
run: CF_PAGES=1 pnpm install
28+
run: pnpm install
2929
working-directory: ./www # 假设你的目录叫 www
3030

3131
- name: Build Docs
32-
run: pnpm run docs:build
32+
run: CF_PAGES=1 pnpm run docs:build
3333
working-directory: ./www
3434

3535
# 魔法时刻:强推到 Cloudflare Pages

0 commit comments

Comments
 (0)