Skip to content

Commit

Permalink
ci: 更新部署文档流程
Browse files Browse the repository at this point in the history
  • Loading branch information
xpyjs committed Jun 17, 2024
1 parent 6bf27b2 commit 8790ce2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches: [master]
paths:
- 'docs/**'
- '.github/workflows/gh-pages.yml'

jobs:
create-gh-pages:
Expand All @@ -23,7 +24,7 @@ jobs:
run: yarn && cd docs && yarn

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

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

0 comments on commit 8790ce2

Please sign in to comment.