Skip to content

Commit 8c2508b

Browse files
committed
fishcpy docs
1 parent c8c28d6 commit 8c2508b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup Pages
4545
uses: actions/configure-pages@v4
4646
- name: Install dependencies
47-
run: npm ci # 或 pnpm install / yarn install / bun install
47+
run: npm install --legacy-peer-deps # 修改这行,添加 --legacy-peer-deps 参数
4848
- name: Build with VitePress
4949
run: npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
5050
- name: Upload artifact

vercel.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"buildCommand": "npm run docs:build",
33
"outputDirectory": "docs/.vitepress/dist",
4-
"installCommand": "npm install",
4+
"installCommand": "npm install --no-frozen-lockfile",
55
"framework": "vitepress"
66
}

0 commit comments

Comments
 (0)