Skip to content

Commit 79b854c

Browse files
committed
修改github page编译代码
1 parent 20a50c0 commit 79b854c

File tree

3 files changed

+5
-3329
lines changed

3 files changed

+5
-3329
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ jobs:
4242
- name: Setup Pages
4343
uses: actions/configure-pages@v4
4444
- name: Install dependencies
45-
run: npm ci # 或 pnpm install / yarn install / bun install
45+
run: |
46+
npm cache clean --force
47+
rm -rf node_modules package-lock.json
48+
npm install
4649
- name: Build with VitePress
4750
run: npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
4851
- name: Upload artifact

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules/
22
yarn.lock
3+
package-lock.json
34
.DS_Store
45
# local dist
56
/dist

0 commit comments

Comments
 (0)