File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Deploy Docs
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ jobs :
14+ build-docs :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout repository
19+ uses : actions/checkout@v5
20+
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v5
23+ with :
24+ node-version : " 20"
25+
26+ - name : Install dependencies
27+ run : npm ci
28+
29+ - name : Build TypeDoc
30+ run : npx typedoc
31+
32+ - name : Upload to GitHub Pages artifact
33+ uses : actions/upload-pages-artifact@v3
34+ with :
35+ path : docs
36+
37+ deploy :
38+ environment :
39+ name : github-pages
40+ url : ${{ steps.deployment.outputs.page_url }}
41+ runs-on : ubuntu-latest
42+ needs : build-docs
43+ steps :
44+ - name : Deploy to GitHub Pages
45+ id : deployment
46+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments