Skip to content

Commit

Permalink
fix:配置build
Browse files Browse the repository at this point in the history
  • Loading branch information
AutumnFishs committed Oct 12, 2024
1 parent d44e168 commit ebdac12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:
uses: actions/configure-pages@v4
- name: 安装项目依赖
# 运行命令行指令,这里使用npm ci表示的是check install,比传统的npm install更快
run: pnpm install # 或 pnpm install / yarn install / bun install
- name: 打包 vitePress
# 运行vitePress中的构建指令
run: pnpm build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
run: pnpm install
- name: 打包 react-comp
# 运vitePress中的构建指令
run: pnpm run build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
# 将构建好的包上传为流水线的工件(artifact)
- name: 上传 artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit ebdac12

Please sign in to comment.