Skip to content

Commit 8790ce2

Browse files
committed
ci: 更新部署文档流程
1 parent 6bf27b2 commit 8790ce2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/gh-pages.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches: [master]
55
paths:
66
- 'docs/**'
7+
- '.github/workflows/gh-pages.yml'
78

89
jobs:
910
create-gh-pages:
@@ -23,7 +24,7 @@ jobs:
2324
run: yarn && cd docs && yarn
2425

2526
- name: 4. 构建文档和 Demo 页面
26-
run: yarn vite build --config ./sundry/demo.config.ts && cd docs && yarn docs:build && mv ./docs/.vuepress/dist/ ../gh-pages/docs/
27+
run: yarn vite build --config ./sundry/demo.config.ts && cd docs && yarn docs:build && mv ./docs/.vitepress/dist/ ../gh-pages/docs/
2728

2829
- name: 5. 保存并发布文档
2930
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)