Azure continuous deployment for multiple projects

后端 未结 2 1675
清酒与你
清酒与你 2021-01-18 13:44

I have created an Azure Web Site and connected it to Visual Studio Online, and this automatically set up a continuous deployment build (as per this page).

Initially

2条回答
  •  甜味超标
    2021-01-18 14:36

    You can override the deployment engine in Kudu by using the Azure CLI Tools. Running the azure site deploymentscript command and passing in the parameters for one of your projects -s --aspWAP .

    This will create a .deployment file and a deploy.cmd (or deploy.sh if you pass the -t bash parameter) modifying the deploy.cmd to add build/deploy steps for the second project.

    More information is on deployment hooks is available in the project kudu wiki.

    EDIT

    You can use App Setting COMMAND to add a deployment script to your site.

提交回复
热议问题