From 4e3b4c267771b288fb073319de7b009c644bbfb3 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Wed, 15 Feb 2023 17:05:42 -0500 Subject: [PATCH] ci/azure-deployment.yml: update CDN purge command I need to update the command here to track some Azure toolkit change. I ran into the same issue in the `wwt-webgl-engine` repo, so I'm confident in this fix. But also there's no real way to test it besides merging and running the deployment logic, so might as well push straight to `master`. --- ci/azure-deployment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/azure-deployment.yml b/ci/azure-deployment.yml index b6da07b..0c78c0a 100644 --- a/ci/azure-deployment.yml +++ b/ci/azure-deployment.yml @@ -1,4 +1,4 @@ -# Copyright 2020-2021 the .NET Foundation +# Copyright 2020-2023 the .NET Foundation # Licensed under the MIT License parameters: @@ -85,11 +85,11 @@ jobs: azurePowerShellVersion: 'LatestVersion' scriptType: 'inlineScript' inline: | - Unpublish-AzCdnEndpointContent ` + Clear-AzCdnEndpointContent ` -ProfileName wwt-cdn-01 ` -ResourceGroupName wwt-web01 ` -EndpointName wwtweb-prod ` - -PurgeContent '/$(WEBCLIENT_DEPLOYMENT_TAG)/*' + -ContentPath @('/$(WEBCLIENT_DEPLOYMENT_TAG)/*') # Deployment jobs that should only happen on updates to `rc`, i.e.