From a4b92feed9cb609541150d874fd56a1b8519bcc4 Mon Sep 17 00:00:00 2001 From: cclohmar Date: Fri, 10 Jul 2026 23:24:24 +0100 Subject: [PATCH] fix: show git pull errors --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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