fix(deploy): add build parameter to ensure Docker images are rebuilt
All checks were successful
Test Runner / test-php (push) Successful in 41s
Deploy Application / deploy (push) Successful in 2m58s
Test Runner / test-basic (push) Successful in 7s

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.
This commit is contained in:
2025-11-25 04:23:38 +01:00
parent dd7cfd97e6
commit 26f87060d5

View File

@@ -55,8 +55,8 @@ jobs:
git fetch origin ${{ github.ref_name }} git fetch origin ${{ github.ref_name }}
git reset --hard origin/${{ github.ref_name }} git reset --hard origin/${{ github.ref_name }}
# Run deployment script # Run deployment script with image build
./deployment/scripts/deploy.sh ${{ steps.env.outputs.environment }} ./deployment/scripts/deploy.sh ${{ steps.env.outputs.environment }} build
EOF EOF
rm -f /tmp/ssh_key rm -f /tmp/ssh_key