File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed
Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Deploy to GitHub Pages
22
33on :
44 push :
5- branches : ' main'
5+ branches :
6+ - main
67
78jobs :
89 build_site :
@@ -13,30 +14,23 @@ jobs:
1314
1415 # If you're using pnpm, add this step then change the commands and cache key below to use `pnpm`
1516 - name : Install Bun
16- uses : bun/action- setup@v3
17+ uses : oven-sh/ setup-bun@v2
1718 with :
18- version : 8
19-
20- - name : Install Node.js
21- uses : actions/setup-node@v4
22- with :
23- node-version : 20
24- cache : npm
19+ bun-version : latest
2520
2621 - name : Install dependencies
27- run : npm i
22+ run : bun i
2823
2924 - name : build
3025 env :
31- BASE_PATH : ' /${{ github.event.repository.name }}'
32- run : |
33- npm run build
34-
26+ BASE_PATH : ' /${{ github.event.repository.name }}'
27+ run : bun run build
28+
3529 - name : Upload Artifacts
3630 uses : actions/upload-pages-artifact@v3
3731 with :
3832 # this should match the `pages` option in your adapter-static options
39- path : ' build/'
33+ path : ' build/'
4034
4135 deploy :
4236 needs : build_site
You can’t perform that action at this time.
0 commit comments