Skip to content

Commit f3168cb

Browse files
authored
Modify install command to include CF_PAGES
Set CF_PAGES environment variable for dependency installation.
1 parent f1ee9a7 commit f3168cb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ jobs:
2525
node-version: 20
2626

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

3331
- name: Build Docs
3432
run: pnpm run docs:build

0 commit comments

Comments
 (0)