File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - typedoc
7+
8+ jobs :
9+ build :
10+ name : Build Docusaurus
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+ - uses : pnpm/action-setup@v4
17+ with :
18+ run_install : true
19+ - uses : actions/setup-node@v6
20+ with :
21+ node-version : 22
22+ cache : ' pnpm'
23+
24+ - name : Build website
25+ run : pnpm generate-docs
26+
27+ - name : Upload Build Artifact
28+ uses : actions/upload-pages-artifact@v3
29+ with :
30+ path : build
31+
32+ deploy :
33+ name : Deploy to GitHub Pages
34+ needs : build
35+
36+ permissions :
37+ pages : write
38+ id-token : write
39+
40+ environment :
41+ name : github-pages
42+ url : ${{ steps.deployment.outputs.page_url }}
43+
44+ runs-on : ubuntu-latest
45+ steps :
46+ - name : Deploy to GitHub Pages
47+ id : deployment
48+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments