File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed
Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 11name : CI
22on : [ push, pull_request ]
33jobs :
4- Build :
4+ build :
55 runs-on : ubuntu-latest
66
77 steps :
Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+ on :
3+ push :
4+ branches : [ $default-branch ]
5+ concurrency :
6+ group : " pages"
7+ cancel-in-progress : false
8+ jobs :
9+ deploy :
10+ environment :
11+ name : github-pages
12+ url : ${{ steps.deployment.outputs.page_url }}
13+ runs-on : ubuntu-latest
14+ steps :
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v4
18+ - name : Use Node.js
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : 22
22+ cache : ' npm'
23+ - name : Install dependencies
24+ run : npm ci
25+ - name : Build
26+ run : xvfb-run npm run all
27+ - name : Setup Pages
28+ uses : actions/configure-pages@v5
29+ - name : Upload artifact
30+ uses : actions/upload-pages-artifact@v3
31+ with :
32+ # Upload entire repository
33+ path : ' .'
34+ - name : Deploy to GitHub Pages
35+ id : deployment
36+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments