Update: 2026-05-03 17:32:57

This commit is contained in:
Hamza-Ayed
2026-05-03 17:32:57 +03:00
parent 6a3e66ad49
commit 4b40b1185f
102 changed files with 525 additions and 11371 deletions

26
push.sh
View File

@@ -1,20 +1,18 @@
#!/bin/bash
set -euo pipefail
# ════════════════════════════════════════════════════════════
# مُصادَق — Quick Push to Git
# ════════════════════════════════════════════════════════════
# Get current timestamp
TIMESTAMP=$(date "+%Y-%m-%d %H:%M:%S")
COMMIT_MSG="${1:-🚀 مُصادَق: تحديث برمجي جديد $(date '+%Y-%m-%d %H:%M')}"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "📦 جاري رفع التعديلات إلى Git..."
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "🚀 Starting Git Push Process..."
echo "📅 Timestamp: $TIMESTAMP"
# Add all changes
git add .
git commit -m "$COMMIT_MSG" || echo " لا توجد تغييرات للرفع."
git push origin main
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "✅ تم الرفع بنجاح! يمكنك الآن عمل (git pull) من نافذة السيرفر."
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
# Commit with timestamp
git commit -m "Update: $TIMESTAMP"
# Push to origin
git push
echo "✅ Done!"