We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d0a6c9 commit 056387bCopy full SHA for 056387b
.github/workflows/docs-deploy.yml
@@ -0,0 +1,35 @@
1
+name: Deploy Documentation
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main # or whichever branch you want to trigger on
7
8
+jobs:
9
+ build-and-deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ with:
15
+ submodules: recursive
16
17
+ - name: Setup Node.js & pnpm
18
+ uses: actions/setup-node@v4
19
20
+ node-version: 18
21
+ cache: "pnpm"
22
23
+ - name: Install dependencies
24
+ run: |
25
+ corepack enable
26
+ pnpm install
27
28
+ - name: Build docs
29
+ run: pnpm build
30
31
+ - name: Deploy to GitHub Pages
32
+ uses: peaceiris/actions-gh-pages@v4
33
34
+ github_token: ${{ secrets.GITHUB_TOKEN }}
35
+ publish_dir: build/
0 commit comments