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 GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
12+ concurrency :
13+ group : ' pages'
14+ cancel-in-progress : true
15+
16+ jobs :
17+ build :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+ - uses : actions/setup-node@v4
22+ with :
23+ node-version : ' 20'
24+ - uses : oven-sh/setup-bun@v1
25+ with :
26+ bun-version : ' latest'
27+ - run : bun install --frozen-lockfile
28+ - run : bun run build
29+ - uses : actions/upload-pages-artifact@v2
30+ with :
31+ path : ./dist
32+
33+ deploy :
34+ needs : build
35+ runs-on : ubuntu-latest
36+ environment :
37+ name : github-pages
38+ url : ${{ steps.deployment.outputs.page_url }}
39+ steps :
40+ - id : deployment
41+ uses : actions/deploy-pages@v2
42+
You can’t perform that action at this time.
0 commit comments