Skip to content

Commit 3ae3bd7

Browse files
Merge pull request #6528 from NHSDigital/fix_pre-deploy_skip_failing
The parameter to control whether to skip pre-deploy was not used
2 parents 6f3bd1a + 5ede6e8 commit 3ae3bd7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ jobs:
189189
name: Pre-deploy
190190
runs-on: ubuntu-latest
191191
needs: approve-deployments
192+
if:
193+
${{ inputs.run_pre_deploy_migrations || inputs.environment == 'production' ||
194+
inputs.environment == 'preview' || inputs.environment == 'training' }}
192195
permissions:
193196
id-token: write
194197
steps:

0 commit comments

Comments
 (0)