Replace entire repo content with kottgard-production-v1.1.zip (for shahikitchen-prod repo)
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Production build must not reuse a dev .next folder.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
pkill -f "next dev" 2>/dev/null || true
|
||||
rm -rf .next
|
||||
echo "Building production bundle (clean cache)…"
|
||||
exec npx next build
|
||||
Reference in New Issue
Block a user