From 26f87060d5c4693cc8fc6e6fad985213af62f14b Mon Sep 17 00:00:00 2001 From: Michael Schiemer Date: Tue, 25 Nov 2025 04:23:38 +0100 Subject: [PATCH] fix(deploy): add build parameter to ensure Docker images are rebuilt The deployment was only pulling code via git but not rebuilding the Docker images, causing containers to run with stale code from the registry image. This fixes the debug error pages still showing on staging despite APP_DEBUG=false. --- .gitea/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index df44b951..dabcaf2d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -55,8 +55,8 @@ jobs: git fetch origin ${{ github.ref_name }} git reset --hard origin/${{ github.ref_name }} - # Run deployment script - ./deployment/scripts/deploy.sh ${{ steps.env.outputs.environment }} + # Run deployment script with image build + ./deployment/scripts/deploy.sh ${{ steps.env.outputs.environment }} build EOF rm -f /tmp/ssh_key