20 lines
489 B
Bash
Executable File
20 lines
489 B
Bash
Executable File
#!/bin/bash
|
|
# Simple Deployment Script to stage, commit, and push changes to Gitea
|
|
|
|
echo "========================================="
|
|
echo " Staging and pushing changes to Gitea..."
|
|
echo "========================================="
|
|
|
|
git add .
|
|
|
|
# Prompt for a commit message
|
|
read -p "Enter commit message: " desc
|
|
if [ -z "$desc" ]; then
|
|
desc="deploy: update voice call service"
|
|
fi
|
|
|
|
git commit -m "$desc"
|
|
git push origin main
|
|
|
|
echo "[+] Done! Now run 'git pull origin main' on your server."
|