PozoAppUptoWebinar/deploy.sh

20 lines
567 B
Bash

#!/bin/bash
echo "🚀 Starting SEO-optimized build..."
# Clean previous build
rm -rf dist/
# Build the application
npm run build
# Prerender pages and apply SEO meta
npm run convert-jsx-to-html
echo "✅ Build completed with SEO optimization!"
echo "📁 Deploy the 'dist' folder to your server"
echo "🔍 Don't forget to:"
echo " 1. Replace G-XXXXXXXXXX with your Google Analytics ID"
echo " 2. Replace YOUR_GSC_VERIFICATION_CODE with your Search Console code"
echo " 3. Submit sitemap to Google Search Console"
echo " 4. Test with PageSpeed Insights"