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`.
This commit is contained in:
Peter Williams 2023-02-15 17:05:42 -05:00
Родитель d63350e38f
Коммит 4e3b4c2677
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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.