Skip to content

Email for professionals and teams

Update package.json

Hieu Nguyen (Jack)2e70c0a94aea
diff --git a/package.json b/package.json
index 983dcfe..dc1753c 100644
--- a/package.json
+++ b/package.json
@@ -8,8 +8,8 @@
"build:next": "next build",
"start": "next start",
"lint": "next lint",
- "deploy": "npm run db:migrate:remote && opennextjs-cloudflare deploy",
- "deploy:worker": "opennextjs-cloudflare deploy",
+ "deploy": "npm run db:migrate:remote && npm run deploy:worker",
+ "deploy:worker": "OPEN_NEXT_DEPLOY=true wrangler deploy",
"deploy:local": "npm run build && npm run deploy",
"deploy:with-migrations": "npm run deploy:local",
"upload": "opennextjs-cloudflare build && OPEN_NEXT_DEPLOY=true wrangler versions upload",