18 lines
305 B
Bash
Executable File
18 lines
305 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "🚀 Starting Deployment..."
|
|
|
|
# Add all changes
|
|
git add .
|
|
|
|
# Get current date and time
|
|
TIMESTAMP=$(date +"%Y-%m-%d %H:%M:%S")
|
|
|
|
# Commit with timestamp
|
|
git commit -m "Auto-deploy: $TIMESTAMP"
|
|
|
|
# Push to origin main
|
|
git push origin main
|
|
|
|
echo "✅ Deployment pushed to Git successfully!"
|