We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e172c87 commit da0b4e7Copy full SHA for da0b4e7
.github/workflows/deploy.yml
@@ -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
21
+ github-token: ${{ secrets.GITHUB_TOKEN }}
22
+ publish_dir: docs/.vitepress/dist
0 commit comments