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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user