From 8affb7878f2d4f89af89617954fc7b1c877c1518 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sun, 25 Jan 2026 13:44:09 +0100 Subject: [PATCH] deploy --- .gitea/workflows/deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 6af4ace9..0ca1d2fc 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -117,11 +117,13 @@ jobs: fi echo '=== Pulling latest image ===' + # Explicitly pull the image to ensure we get the latest version + docker pull registry.infra.mintel.me/mintel/klz-cables.com:latest docker compose pull echo '=== Restarting containers ===' - docker compose down - docker compose up -d + # Use --force-recreate to ensure containers are updated even if compose thinks they are up to date + docker compose up -d --force-recreate --remove-orphans echo '=== Waiting for containers (30s) ===' sleep 30