Skip to content

Commit da0b4e7

Browse files
author
=
committed
Beta Preparation 3 - VitePress Deploy
1 parent e172c87 commit da0b4e7

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Deploy VitePress site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: 18
16+
- run: npm install
17+
- run: npm run docs:build
18+
- name: Deploy to GitHub Pages
19+
uses: peaceiris/actions-gh-pages@v4
20+
with:
21+
github-token: ${{ secrets.GITHUB_TOKEN }}
22+
publish_dir: docs/.vitepress/dist

0 commit comments

Comments
 (0)