#!/bin/bash # ============================================================================== # SAQEL PLATFORM - DEPLOY & GIT SYNCHRONIZATION SCRIPT # ============================================================================== if [ -n "$1" ]; then COMMIT_MSG="$1" else COMMIT_MSG="Update Saqel Platform: $(date +'%Y-%m-%d %H:%M:%S')" fi echo "📦 Staging all files..." git add . echo "📝 Committing: $COMMIT_MSG" git commit -m "$COMMIT_MSG" echo "🚀 Pushing to origin..." git push origin --all echo "✅ Done! On the production server run:" echo " git pull" echo " (and if websocket server changed: php backend/websocket/server.php restart -d)"