From 0f11544fcad64363a2edc01a1a7334256b1ee6c6 Mon Sep 17 00:00:00 2001 From: Adam Andrews <35509135+andr0272@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:07:55 -0400 Subject: [PATCH] Update pr-preview.yml for Azure Pipelines --- 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'