fix: port 3000 > 3020, APP_DIR /opt/cirux > /home/ubuntu/cirux
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# ─── EnFlow Auto-Deploy Script ───────────────────────────────────────────────
|
||||
# Called by Gitea post-receive hook or manually
|
||||
# Usage: /opt/cirux/deploy-auto.sh
|
||||
# Usage: /home/ubuntu/cirux/deploy-auto.sh
|
||||
|
||||
set -e
|
||||
|
||||
@@ -40,7 +40,7 @@ sleep 10
|
||||
|
||||
RETRIES=5
|
||||
while [ $RETRIES -gt 0 ]; do
|
||||
if curl -sf http://localhost:3000/api/health > /dev/null 2>&1; then
|
||||
if curl -sf http://localhost:3020/api/health > /dev/null 2>&1; then
|
||||
echo "$(date '+%Y-%m-%d %H:%M:%S') - Deploy successful ✅" >> "$LOG_FILE"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user