Skip to content

Commit 3696d34

Browse files
authored
Add CF_PAGES environment variable for deployment
1 parent 6e15ccd commit 3696d34

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
- name: Install Dependencies
2828
run: pnpm install
2929
working-directory: ./www # 假设你的目录叫 www
30+
env:
31+
CF_PAGES: "1"
3032

3133
- name: Build Docs
3234
run: pnpm run docs:build

0 commit comments

Comments
 (0)