We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f200a3 commit dd7e4ddCopy full SHA for dd7e4dd
.github/workflows/docs.yml
@@ -0,0 +1,36 @@
1
+name: Docs
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ pages: write
12
+ id-token: write
13
+ environment:
14
+ name: github-pages
15
+ url: ${{ steps.deploy.outputs.page_url }}
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@v4
19
20
+ - name: Install mise
21
+ uses: jdx/mise-action@v2
22
23
+ - name: Install dependencies
24
+ run: pnpm install --frozen-lockfile
25
26
+ - name: Generate docs & build
27
+ run: pnpm build
28
29
+ - name: Upload artifact
30
+ uses: actions/upload-pages-artifact@v3
31
+ with:
32
+ path: .vitepress/dist
33
34
+ - name: Deploy to GitHub Pages
35
+ id: deploy
36
+ uses: actions/deploy-pages@v4
0 commit comments