File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
Expand file tree Collapse file tree 2 files changed +34
-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+ workflow_dispatch :
6+ concurrency :
7+ group : " pages"
8+ cancel-in-progress : false
9+ jobs :
10+ deploy :
11+ environment :
12+ name : github-pages
13+ url : ${{ steps.deployment.outputs.page_url }}
14+ runs-on : ubuntu-latest
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 : Upload artifact
28+ uses : actions/upload-pages-artifact@v3
29+ with :
30+ path : dist
31+ - name : Deploy to GitHub Pages
32+ id : deployment
33+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments