Auto-deploy: 2026-08-05 16:17:53

This commit is contained in:
Hamza-Ayed
2026-08-05 16:17:53 +03:00
parent 83506f00a2
commit 731ced99d1
20 changed files with 1772 additions and 1150 deletions
+9
View File
@@ -2,6 +2,15 @@
echo "🚀 Starting Deployment..."
# Keep the backend's copy of the profile in sync with profile_data.js.
# Skipping this ships a CV built from stale facts.
if command -v node >/dev/null 2>&1; then
echo "🔄 Syncing profile.json from profile_data.js..."
node sync_profile.js || { echo "❌ Profile sync failed — aborting deploy."; exit 1; }
else
echo "⚠️ node not found — skipping profile sync. Verify server/profile.json is current."
fi
# Add all changes
git add .