#!/bin/bash echo "🚀 Deploying v0 Landing Page Clone" echo "==================================" echo "" cd /workspace/v0-nextjs-new # Check if node_modules exists if [ ! -d "node_modules" ]; then echo "📦 Installing dependencies..." npm install fi echo "" echo "🏗️ Building project..." npm run build if [ $? -eq 0 ]; then echo "" echo "✅ Build successful!" echo "" echo "📤 Deploying to Vercel..." npx vercel --prod --yes echo "" echo "🎉 Deployment complete!" else echo "" echo "❌ Build failed. Please check the errors above." exit 1 fi