fix: port 3000 > 3020, APP_DIR /opt/cirux > /home/ubuntu/cirux
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user