fix: port 3000 > 3020, APP_DIR /opt/cirux > /home/ubuntu/cirux

This commit is contained in:
2026-05-31 17:25:27 -05:00
parent 1004707d8f
commit d99aec2f1a
5 changed files with 20 additions and 17 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ set -e
APP_DIR="/home/ubuntu/cirux"
LOG_FILE="/var/log/cirux-deploy.log"
BRANCH="main"
DEPLOY_SCRIPT="/opt/cirux/deploy-auto.sh"
DEPLOY_SCRIPT="/home/ubuntu/cirux/deploy-auto.sh"
echo "$(date '+%Y-%m-%d %H:%M:%S') - Push received, starting deploy..." >> "$LOG_FILE"
@@ -22,7 +22,7 @@ while read oldrev newrev refname; do
cd "$APP_DIR"
# Run deploy script
/opt/cirux/deploy-auto.sh >> "$LOG_FILE" 2>&1
/home/ubuntu/cirux/deploy-auto.sh >> "$LOG_FILE" 2>&1
# Verify health
sleep 5