From b82673811596d663eaa49a600d3fa725b4db1a65 Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Mon, 25 Aug 2025 09:02:00 -0700 Subject: [PATCH] Fix condition on source-index build steps --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0c6b719..c2a3611 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -142,7 +142,7 @@ extends: -OutFile bin/index.url - task: AzureFileCopy@6 - displayName: Upload index to Azure Stroage + displayName: Upload index to Azure Storage inputs: azureSubscription: SourceDotNet-Deployment-ARM SourcePath: "bin/index/index/*" @@ -204,7 +204,7 @@ extends: - task: AzureCLI@2 displayName: Swap Staging Slot into Production - condition: eq(variables['isOfficialBuild'], 'True') + condition: and(succeeded(), eq(variables['isOfficialBuild'], 'True')) inputs: azureSubscription: SourceDotNet-Deployment-ARM scriptLocation: inlineScript @@ -218,7 +218,7 @@ extends: - task: AzureCLI@2 displayName: Cleanup Old Storage Containers - condition: eq(variables['isOfficialBuild'], 'True') + condition: and(succeeded(), eq(variables['isOfficialBuild'], 'True')) inputs: azureSubscription: SourceDotNet-Deployment-ARM scriptLocation: inlineScript