From 34dad61b92bda61d3476752b8c4760b25ccb0f7b Mon Sep 17 00:00:00 2001 From: Adam Andrews <35509135+andr0272@users.noreply.github.com> Date: Fri, 5 Jul 2024 11:16:33 -0400 Subject: [PATCH] Update pr-preview.yml for Azure Pipelines (#1061) --- AzurePipelines/pr-preview.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AzurePipelines/pr-preview.yml b/AzurePipelines/pr-preview.yml index a83452d616..30b293a6ac 100644 --- a/AzurePipelines/pr-preview.yml +++ b/AzurePipelines/pr-preview.yml @@ -10,7 +10,7 @@ variables: azure.servicePrincipal: 'rg-ServiceCanadaLabs-Dev-10/11/2023' webapp.name: 'app-servicecanadalabs-dev' webapp.resourceGroup: 'rg-servicecanadalabs-dev' - webapp.slotName: null + webapp.slotName: 0 azureContainerRegistry.name: 'DTS Shared Container Repo 10/11/2023' azureContainerRegistry.repository: 'alphasite' azureContainerRegistry.domain: 'dtsshared.azurecr.io' @@ -63,6 +63,7 @@ steps: latest - task: PowerShell@2 + condition: eq(variables['Build.Reason'], 'PullRequest') displayName: 'Decide which AppService slot to put this preview in' inputs: targetType: 'inline'