We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 59d6c21 + ed17b5f commit 223ff3cCopy full SHA for 223ff3c
1 file changed
.github/workflows/docs-page-deploy.yml
@@ -1,9 +1,9 @@
1
name: docs-page-deploy
2
3
on:
4
- # 每当 push 到 main 分支时触发部署
5
- # push:
6
- # branches: [ next ]
+ # 每当 push 到 next 分支时触发部署
+ push:
+ branches: [next]
7
# 手动触发部署
8
workflow_dispatch:
9
@@ -21,7 +21,7 @@ jobs:
21
uses: pnpm/action-setup@v2
22
with:
23
# 选择要使用的 pnpm 版本
24
- version: 6
+ version: 7
25
# 使用 pnpm 安装依赖
26
run_install: true
27
@@ -35,7 +35,7 @@ jobs:
35
36
# 运行构建脚本
37
- name: Build VuePress site
38
- run: pnpm build
+ run: pnpm build-proxy
39
40
# 查看 workflow 的文档来获取更多信息
41
# @see https://github.com/crazy-max/ghaction-github-pages
0 commit comments