File tree Expand file tree Collapse file tree 1 file changed +11
-22
lines changed
Expand file tree Collapse file tree 1 file changed +11
-22
lines changed Original file line number Diff line number Diff line change 1010 frontDoorProfileName :
1111 type : string
1212 frontDoorEndpointName :
13- type : string
13+ type : string
1414 frontDoorDomain :
1515 type : string
1616 secrets :
@@ -88,27 +88,16 @@ jobs:
8888 --expiry $expiry --https-only --permissions dlrw -o tsv
8989 Write-Output "::set-output name=sastoken::$($token)"
9090
91- - name : Upload UI
92- uses : azure/CLI@v2
93- with :
94- azcliversion : 2.67.0
95- inlineScript : |
96- tdnf install -y azcopy; # this is necessary to make sync command work
97- az storage blob sync \
98- --container '$web' \
99- --source "ui" \
100- --account-name ${{ steps.bicep.outputs.storageAccountName }} \
101- --sas-token ${{ steps.storage.outputs.sastoken }} \
102- --verbose \
103- --delete-destination true
104-
105- # uses: bacongobbler/azure-blob-storage-upload@main
106- # with:
107- # source_dir: "ui"
108- # container_name: "$web"
109- # account_name: ${{ steps.bicep.outputs.storageAccountName }}
110- # sas_token: ${{ steps.storage.outputs.sastoken }}
111- # sync: "true"
91+ # Run the sync command using the SAS token.
92+ - name : Sync UI folder to Azure Blob Storage ($web)
93+ shell : pwsh
94+ run : |
95+ az storage blob sync `
96+ --container '$web' `
97+ --source "ui" `
98+ --account-name ${{ steps.bicep.outputs.storageAccountName }} `
99+ --sas-token "${{ steps.storage.outputs.sastoken }}" `
100+ --delete-destination true
112101
113102 # # - name: Purge Front Door cache
114103 # # id: purge-front-door
You canβt perform that action at this time.
0 commit comments