Skip to content

Commit 46bd562

Browse files
committed
ci: add docs build and deploy steps
1 parent 924b4a2 commit 46bd562

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ jobs:
3535
- name: Build Package
3636
run: pnpm run build
3737

38+
- name: Build Docs Package
39+
run: pnpm run docs:build
40+
41+
- name: Deploy Docs
42+
uses: peaceiris/actions-gh-pages@v4
43+
with:
44+
github_token: ${{ secrets.GITHUB_TOKEN }}
45+
publish_dir: docs/.vitepress/dist
46+
3847
- name: Test Package
3948
run: pnpm run coverage
4049

0 commit comments

Comments
 (0)