Auto-deploy: 2026-08-05 16:17:53
This commit is contained in:
@@ -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 .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user