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