Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
huangmingfu committed Oct 25, 2024
1 parent 88242a6 commit 4d6dbfd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
with:
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
- uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消注释
name: Install pnpm
with:
version: latest
# - uses: oven-sh/setup-bun@v1 # 如果使用 Bun,请取消注释
- name: Setup Node
uses: actions/setup-node@v4
Expand All @@ -41,8 +44,10 @@ jobs:
cache: pnpm # 或 pnpm / yarn
- name: Setup Pages
uses: actions/configure-pages@v4
# 安装依赖
- name: Install dependencies
run: pnpm install # 或 pnpm install / yarn install / bun install
# 构建项目
- name: Build with VitePress
run: pnpm run build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
- name: Upload artifact
Expand All @@ -61,4 +66,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@
"typescript": "^5.6.3",
"vitepress": "1.0.0-rc.45",
"vitepress-plugin-music": "^0.0.9"
},
"packageManager": "[email protected]"
}
}

0 comments on commit 4d6dbfd

Please sign in to comment.