File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed
Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- paths :
8- - " website/**"
97
108jobs :
119 build :
@@ -18,15 +16,14 @@ jobs:
1816 - uses : actions/checkout@v4
1917 with :
2018 fetch-depth : 0
21- - uses : oven-sh /setup-bun@v2
19+ - uses : actions /setup-node@v4
2220 with :
23- bun -version : latest
21+ node -version : 18
2422
2523 - name : Install dependencies
26- run : bun install --frozen-lockfile
27-
24+ run : npm install --frozen-lockfile
2825 - name : Build website
29- run : bun build
26+ run : npm build
3027
3128 - name : Upload Build Artifact
3229 uses : actions/upload-pages-artifact@v3
5047 runs-on : ubuntu-latest
5148 steps :
5249 - name : Deploy to GitHub Pages
53- uses : peaceiris/actions-gh-pages@v3
54- if :
55- github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
56- with :
57- github_token : ${{ secrets.GITHUB_TOKEN }}
58- publish_dir : ./websites/build
59- user_name : " github-actions[bot]"
60- user_email : " github-actions[bot]@users.noreply.github.com"
50+ id : deployment
51+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments