Skip to content

Commit

Permalink
Merge pull request #104 from CloudFormations/develop
Browse files Browse the repository at this point in the history
update prod infra deployment condition
  • Loading branch information
MattPCollins authored Oct 8, 2024
2 parents ba1a961 + 72607b2 commit c49475d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .azuredevops/pipelines/infra.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,8 @@ stages:
- job: BicepDeploy_${{ pair.key }}
displayName: 'Bicep Deployment to ${{ upper(pair.key) }} Environment'
dependsOn: BicepPreview_${{ pair.key }}
dependsOn: ManualValidation_${{ pair.key }}
condition: >
and(succeeded(),
or(
ne('${{ pair.key }}', 'prod'),
and(eq('${{ pair.key }}', 'prod'), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
)
)
succeeded()
steps:
- task: AzureCLI@2
displayName: 'Azure CLI for Bicep Deployment'
Expand Down

0 comments on commit c49475d

Please sign in to comment.