File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -131,15 +131,15 @@ stages:
131
131
scriptType : pscore
132
132
scriptLocation : inlineScript
133
133
inlineScript : ' az storage blob delete-batch -s '' $web'' --account-name $(accountName)'
134
- - task : AzureFileCopy@4
134
+ task : AzureCLI@2
135
135
displayName : ' Copy Files to Azure Blob Storage'
136
136
inputs :
137
- SourcePath : ' $(System.DefaultWorkingDirectory)/$(webAppName)/bin/Release/net7.0/publish/wwwroot '
138
- azureSubscription : $(azureConnection)
139
- Destination : AzureBlob
140
- storage : $(accountName)
141
- ContainerName : ' web'
142
- BlobPrefix : ' $ '
137
+ azureSubscription : {azureConnection}
138
+ scriptType : ps
139
+ scriptLocation : inlineScript
140
+ inlineScript : |
141
+ $Container = '$ web'
142
+ az storage copy -s '$(System.DefaultWorkingDirectory)/$(webAppName)/bin/Release/net7.0/publish/wwwroot' --destination-account-name {accountName} --destination-container $Container --recursive
143
143
- task : AzureCLI@2
144
144
displayName : ' Set Correct Content-Type Attributes'
145
145
inputs :
You can’t perform that action at this time.
0 commit comments