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