From 221cd949998d4e525dd6a82592b54cc11d58af0e Mon Sep 17 00:00:00 2001 From: Head of Product & Engineering Date: Mon, 6 Apr 2026 16:15:27 +0200 Subject: [PATCH] fix: add git pull to deploy.sh so docker-compose.yaml stays in sync Without this, the server would run a stale docker-compose.yaml after any infra changes (e.g. adding MongoDB auth) even though the image was updated. deploy.sh now pulls repo changes before pulling the image. Co-Authored-By: Paperclip Co-Authored-By: Claude Sonnet 4.6 --- deploy/deploy.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy/deploy.sh b/deploy/deploy.sh index ada7c1e..24d6ed0 100644 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -8,6 +8,9 @@ set -euo pipefail APP_DIR="$(cd "$(dirname "$0")/.." && pwd)" cd "$APP_DIR" +echo "==> Updating repo" +git pull origin main + echo "==> Pulling latest image from registry" docker compose pull bridge