Skip to content

Commit 4f46b7a

Browse files
committed
docs(vitepress): add github pages step
1 parent 66f43e8 commit 4f46b7a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,11 @@ jobs:
5050
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
5151
file_pattern: CHANGELOG.md
5252

53+
- name: Deploy
54+
uses: peaceiris/actions-gh-pages@v3
55+
with:
56+
github_token: ${{ secrets.GITHUB_TOKEN }}
57+
publish_dir: docs/.vitepress/dist
58+
# cname: example.com # if wanna deploy to custom domain
59+
5360

0 commit comments

Comments
 (0)