Skip to content

Commit 7988f23

Browse files
committed
Github Action
1 parent 167974e commit 7988f23

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/deploy-docs.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: 部署文档
32

43
on:
@@ -20,8 +19,6 @@ jobs:
2019
# 如果你文档需要 Git 子模块,取消注释下一行
2120
# submodules: true
2221

23-
24-
2522
- name: 设置 Node.js
2623
uses: actions/setup-node@v3
2724
with:
@@ -38,11 +35,11 @@ jobs:
3835
NODE_OPTIONS: --max_old_space_size=8192
3936
run: |-
4037
npm run docs:build
41-
> src/.vuepress/dist/.nojekyll
38+
> docs/.vuepress/dist/.nojekyll
4239
4340
- name: 部署文档
4441
uses: JamesIves/github-pages-deploy-action@v4
4542
with:
4643
# 部署文档
4744
branch: gh-pages
48-
folder: src/.vuepress/dist
45+
folder: docs/.vuepress/dist

0 commit comments

Comments
 (0)