File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy to docs.daxa.dev
2+ on :
3+ push :
4+ branches : ['main']
5+ workflow_dispatch :
6+
7+ permissions :
8+ contents : read
9+ pages : write
10+
11+ concurrency :
12+ group : ' pages'
13+ cancel-in-progress : true
14+
15+ jobs :
16+ deploy :
17+ environment :
18+ name : github-pages
19+ url : ${{ steps.deployment.outputs.page_url }}
20+ runs-on : ubuntu-latest
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v4
24+
25+ - name : Setup Node.js
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : ' 24'
29+
30+ - name : Building Static Site
31+ run : |
32+ npm ci
33+ npm run build
34+
35+ - name : Upload artifact
36+ uses : actions/upload-pages-artifact@v3
37+ with :
38+ path : ' dist/'
39+
40+ - name : Deploy to GitHub Pages
41+ id : deployment
42+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments