File tree Expand file tree Collapse file tree 2 files changed +24
-23
lines changed
Expand file tree Collapse file tree 2 files changed +24
-23
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: Deploy to GitHub Pages
22
33on :
44 push :
5- branches : [ main, master ]
5+ branches : [main]
66 pull_request :
7- branches : [ main, master ]
7+ branches : [main]
88
99jobs :
1010 deploy :
@@ -19,29 +19,30 @@ jobs:
1919 url : ${{ steps.deployment.outputs.page_url }}
2020
2121 steps :
22- - name : Checkout
23- uses : actions/checkout@v4
22+ - name : Checkout
23+ uses : actions/checkout@v4
2424
25- - name : Setup Node.js
26- uses : actions/setup-node@v4
27- with :
28- node-version : ' 18'
29- cache : ' pnpm'
25+ - name : Setup Node.js
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : " 18"
3029
31- - name : Install pnpm
32- run : npm install -g pnpm
30+ - name : Setup pnpm
31+ uses : pnpm/action-setup@v4
32+ with :
33+ version : 10
3334
34- - name : Install dependencies
35- run : pnpm install
35+ - name : Install dependencies
36+ run : pnpm install
3637
37- - name : Build
38- run : pnpm run build
38+ - name : Build
39+ run : pnpm run build
3940
40- - name : Upload artifact
41- uses : actions/upload-pages-artifact@v3
42- with :
43- path : ./out
41+ - name : Upload artifact
42+ uses : actions/upload-pages-artifact@v3
43+ with :
44+ path : ./out
4445
45- - name : Deploy to GitHub Pages
46- id : deployment
47- uses : actions/deploy-pages@v4
46+ - name : Deploy to GitHub Pages
47+ id : deployment
48+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 11{
2- "name" : " next-app-template " ,
2+ "name" : " spinfi-landing " ,
33 "version" : " 0.0.1" ,
44 "private" : true ,
55 "scripts" : {
You can’t perform that action at this time.
0 commit comments