File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,13 +15,9 @@ concurrency:
1515 cancel-in-progress : true
1616
1717jobs :
18- build-and-deploy :
18+ build :
1919 runs-on : ubuntu-latest
2020
21- environment :
22- name : github-pages
23- url : ${{ steps.deployment.outputs.page_url }}
24-
2521 steps :
2622 - name : Checkout
2723 uses : actions/checkout@v4
3228 - name : Set up Node.js
3329 uses : actions/setup-node@v4
3430 with :
31+ node-version : 24
3532 cache : ' pnpm'
3633
3734 - name : Install and Build
4037 pnpm build
4138
4239 - name : Upload artifact
43- uses : actions/upload-pages-artifact@v3
40+ uses : actions/upload-pages-artifact@v5
4441 with :
4542 path : ' ./dist'
43+
44+ deploy :
45+ needs : build
46+ runs-on : ubuntu-latest
47+
48+ environment :
49+ name : github-pages
50+ url : ${{ steps.deployment.outputs.page_url }}
51+
52+ steps :
4653 - name : Deploy to GitHub Pages
4754 id : deployment
48- uses : actions/deploy-pages@v4
55+ uses : actions/deploy-pages@v5
Original file line number Diff line number Diff line change 3737 - name : Set up Node.js
3838 uses : actions/setup-node@v4
3939 with :
40+ node-version : 24
4041 cache : ' pnpm'
4142
4243 - name : Normalize and validate version
You can’t perform that action at this time.
0 commit comments