File size: 724 Bytes
37260b4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #!/bin/bash
# Quick Deploy to Hugging Face
# This script pushes your local changes to HF Space
echo "🚀 Deploying to Hugging Face..."
echo ""
# Stage all changes
git add .
# Commit with timestamp
TIMESTAMP=$(date +"%Y-%m-%d %H:%M:%S")
git commit -m "Deploy: Updated API endpoints - $TIMESTAMP"
# Push to origin (GitHub)
echo "📤 Pushing to GitHub..."
git push origin master
echo ""
echo "✅ Code pushed to GitHub!"
echo ""
echo "🔄 Next Steps:"
echo "1. Go to: https://huggingface.co/spaces/ubuntu593/alt-scraper-api"
echo "2. Your Space should auto-sync from GitHub in 1-2 minutes"
echo "3. Watch the build logs to confirm deployment"
echo ""
echo "⏰ Wait 2-3 minutes, then test your Postman request again!"
|