File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed
Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and publish docs
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ concurrency :
15+ group : ' github-pages'
16+ cancel-in-progress : false
17+
18+ jobs :
19+ deploy :
20+ environment :
21+ name : github-pages
22+ url : ${{ steps.deployment.outputs.page_url }}
23+ runs-on : ubuntu-latest
24+ steps :
25+ - uses : actions/checkout@v4
26+ with :
27+ filter : tree:0
28+ fetch-depth : 0
29+
30+ - name : Setup Pages
31+ uses : actions/configure-pages@v5
32+
33+ - name : Install Node.js
34+ uses : actions/setup-node@v4
35+ with :
36+ node-version : 22
37+ cache : pnpm
38+
39+ - name : Install dependencies
40+ env :
41+ SKIP_RUST_BUILD : 1
42+ run : pnpm install --frozen-lockfile
43+
44+ - name : Build docs
45+ run : npm run build:docs
46+
47+ - name : Upload artifact
48+ uses : actions/upload-pages-artifact@v3
49+ with :
50+ path : ' docs/_site/'
51+
52+ - name : Deploy to GitHub Pages
53+ id : deployment
54+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments