21 lines
390 B
Bash
Executable File
21 lines
390 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# ScoutIQ Deployment Script
|
|
|
|
echo "=== ScoutIQ Deploying Script ==="
|
|
|
|
# Get current date and time
|
|
datetime=$(date "+%Y-%m-%d %H:%M:%S")
|
|
|
|
# Git workflow
|
|
echo "Adding changes to Git..."
|
|
git add .
|
|
|
|
echo "Committing changes..."
|
|
git commit -m "Deploy on $datetime"
|
|
|
|
echo "Pushing changes to origin main..."
|
|
git push origin main
|
|
|
|
echo "Done! You can now run git pull on the server."
|