Hi,
I currently have been deploying one git repo to one app and another git repo to the other app service. Each app had their own deploy script. Recently I was asked to combine the two repos and I need a way for Kudu to do two different deploys depending on
the app. One folder in the repo, there is a node app and in another there is a python app. Kudu documentation says it's possible but can it be done for a node/python app?
The Kudu Documentation says this:
One downside of using a .deployment file is that it is committed to the repo, and sometimes you want to make that selection outside of the repo.
Let's say that you have one repo that contains two different ASP.NET projects (possibly in the same solution), which you want to deploy to different sites. You couldn't use a .deployment file here,
as it can only point to one project.
Instead, you can use App Settings to set the same values that are supported in the .deployment file. The steps are:
- Go to the Configure tab for you site in the Azure portal
- Add an App Setting called
PROJECT
, and set its value to something like WebProject/WebProject.csproj
- Then in your other web site you can set
PROJECT
to point to a different .csproj file.