ci: Update build.yml workflow

This commit is contained in:
Nicolas Giard 2024-06-28 17:07:04 -04:00 committed by GitHub
parent 8916ae0107
commit e63af68a88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -443,7 +443,7 @@ jobs:
prod:
name: Deploy to Production
if: ${{ !failure() && !cancelled() && (github.event.inputs.deploy == 'Staging + Prod' || github.ref_name == 'release') }}
needs: [staging]
needs: [prepare, staging]
runs-on: ubuntu-latest
environment:
name: production