#!/bin/bash

# Agent Trust Guide - One-Click Deploy Script

echo "🚀 Deploying Agent Trust Guide..."
echo ""

# Check if vercel is installed
if ! command -v vercel &> /dev/null; then
    echo "❌ Vercel CLI not found. Installing..."
    npm install -g vercel
fi

# Check if we're in the right directory
if [ ! -f "index.html" ]; then
    echo "❌ Error: Must run from website/ directory"
    exit 1
fi

# Deploy to Vercel
echo "📦 Starting deployment..."
vercel --prod

echo ""
echo "✅ Deployment complete!"
echo ""
echo "🌐 Your site is now live!"
echo "📊 Check the deployment URL above"
echo ""
echo "💡 Pro tip: Save the URL to share with friends & family"
