From 4744262e4164c29b04b470b0e32072e2960cc895 Mon Sep 17 00:00:00 2001 From: Jeremy Zimmerman Date: Fri, 11 Aug 2023 12:44:32 -0400 Subject: [PATCH] Cleaning up the build pipeline file. --- azure-pipelines.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b0be1cac..acdbe24a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -88,7 +88,12 @@ stages: indexDeployVariables: __VUE_APP_GOOGLE_TAG_MANAGER_SCRIPT_BODY__: $(__VUE_APP_GOOGLE_TAG_MANAGER_SCRIPT_BODY__) __VUE_APP_GOOGLE_TAG_MANAGER_NOSCRIPT_FRAME_SRC__: $(__VUE_APP_GOOGLE_TAG_MANAGER_NOSCRIPT_FRAME_SRC__) - cfDistributionId: $(cfDistributionId) + - template: templates/digital/invalidate-cloudfront-cache.yml@AzureDevOps + parameters: + awsCliContainer: awscli + distributionId: $(cfDistributionId) + paths: /* + awsProfile: $(qaDeploymentProfile) # Test Build/Deploy - stage: Test @@ -190,7 +195,7 @@ stages: # Prod Build/Deploy - stage: Prod - condition: succeeded('Qa') + condition: succeeded('QA') variables: - group: ISS-Prod jobs: @@ -236,10 +241,10 @@ stages: distributionId: $(cfDistributionId) paths: /* awsProfile: $(prodDeploymentProfile) - - template: templates/digital/auto-tag.yml@AzureDevOps - parameters: - dependsOn: prodBuildDeployment - userName: SafeliteAzureDevops - userEmail: githubazuredevops@safelite.com + - template: templates/digital/auto-tag.yml@AzureDevOps + parameters: + dependsOn: prodBuildDeployment + userName: SafeliteAzureDevops + userEmail: githubazuredevops@safelite.com \ No newline at end of file