diff --git a/deploy.sh b/deploy.sh index 400804a..61fa8b4 100755 --- a/deploy.sh +++ b/deploy.sh @@ -26,7 +26,7 @@ else echo "[MODE] Smart update (target exists)"; fi # --- Pull + build --- cd "$REPO_DIR" echo "[1/5] Pulling latest code..." -git pull 2>/dev/null || true +git pull 2>&1 || echo "[WARN] Git pull failed — using existing code" echo "[2/5] Building binary (static)..." export PATH=$PATH:/usr/local/go/bin