Publishing WebSite to Azure via powershell with Se

2019-02-23 01:35发布

Is there a chance how to use a SetParameters.xml file to set parameters in a web deployment package?

I would like to deploy an application by powershell script with cmdlets

  • Select-AzureSubscription
  • Publish-AzureWebsiteProject

But I have not found how to set a SetParameters.xml file to the Publish-AzureWebsiteProject cmdlet. Or is there an another way? Processing the SetParameters.xml file into the web deployment package before calling the Publish-AzureWebsiteProject cmdlet?

1条回答
虎瘦雄心在
2楼-- · 2019-02-23 02:13

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

查看更多
登录 后发表回答