Publish WebSite for Azure via powershell using SetParameters.xml

Is it possible to use the SetParameters.xml file to set parameters in a web deployment package?

I would like to deploy a powershell script application with cmdlets

  • Select-AzureSubscription
  • Publish-AzureWebsiteProject

But I did not find how to install the SetParameters.xml file in the Publish-AzureWebsiteProject cmdlet. Or is there another way? Processing SetParameters.xml in a web deployment package before invoking the Publish-AzureWebsiteProject cmdlet?

+5
source share
1 answer

Publishing-AzureWebsiteProject does not support SetParameters.xml. The best I have found is to use MSDeploy.exe. How to set arguments in answers to How can I get PublishUrl through Azure PowerShell?

+3
source

Source: https://habr.com/ru/post/1205966/


All Articles