I am trying to add new ip addresses to the whitelist of Azure AppService. I am unable to use XML Transformation or simply replace tokens as the needed list of new entries will be obtained in the beginning of the release and not before. I am also unable to modify the content of the zipped site (published with /p:DeployOnBuild=True). The deployment is done using "Azure App Service Deploy" task. I know of Set-AzureRMWebApp
cmdlet but it only allows to modify the appSettings and connectionStrings sections. It there any other solution?
相关问题
- running headless chrome in an microsoft azure web
- Docker task in Azure devops won't accept "$(pw
- How to Debug/Register a Permanent WMI Event Which
- Authentication Failure using Git-LFS Azure DevOps
- How can I do variable substitution in a here-strin
相关文章
- 在vscode如何用code runner打开独立的控制台窗口,以及设置好调试模式时窗口的编码?
- C#调用PowerShell的问题
- EscapeDataString having differing behaviour betwee
- Build errors of missing packages in Visual Studio
- SQL Azure Reset autoincrement
- PowerShell Change owner of files and folders
- How to cast Azure DocumentDB Document class to my
- VSTS continuous integration triggers not working
Using Set-AzureRMResource PowerShell command:
A Related thread: Azure Resource Manager IP Security Restrictions using Powershell
Another way is that you can publish project with FileSystem method:
Some Build Tasks:
/p:SkipInvalidConfigurations=true /p:DeployOnBuild=true /p:WebPublishMethod=FileSystem /p:publishUrl="$(build.artifactstagingdirectory)\\" /p:DeployDefaultTarget=WebPublish
)Release Tasks: