Skip to content

Commit c28e8eb

Browse files
committed
Refactor deployment process by removing export step from package.json and updating deploy.yml to streamline build commands for GitHub Pages.
1 parent 256fe12 commit c28e8eb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ jobs:
2424
run: npm ci
2525

2626
- name: Build and export
27-
run: |
28-
npm run build
29-
npm run export
27+
run: npm run build
3028

3129
- name: Deploy to GitHub Pages
3230
uses: peaceiris/actions-gh-pages@v3

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "next build",
88
"start": "next start",
99
"lint": "eslint",
10-
"export": "next build && next export",
10+
"export": "next build",
1111
"build:prod": "NODE_ENV=production npm run build",
1212
"serve:out": "npx serve out"
1313
},

0 commit comments

Comments
 (0)