Skip to content

Commit f911a97

Browse files
committed
fix: Use prod env during deployment
1 parent b18d80a commit f911a97

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
- name: Build with Next.js 🏗️
3535
run: |
3636
npx next build
37-
npx next export
37+
env:
38+
NODE_ENV: production
3839

3940
- name: List files in root
4041
run: ls -la ./

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"dev": "next dev",
77
"build": "next build",
88
"start": "next start",
9-
"export": "next export",
109
"lint": "next lint"
1110
},
1211
"dependencies": {

0 commit comments

Comments
 (0)