0
votes

I'm setting a CI/CD using Azure Pipelines. As the output of the build, I'm generating a zip file. If I manually upload the produced zip artifact to wwwroot using Kudu, it works fine. However, using the Release of Azure Pipelines, it's creating a new folder and dropping the content into it.

enter image description here

Kudu: enter image description here

I've tried several different approaches:

-without zipping the output of the build
-using msbuild rather than dotnet build
-deploying using msdeploy
-cloning from existing builds / releases

For all the previous approaches I'm getting the same result: the output inside Backoffice folder. I've found a similar problem on VSTS release pipeline to Azure web app deploys to wwwroot subdirectory but I did the steps described in the answer and I'm still with the problem. Any clues?

1
And what is your config in Azure (Virtual applications and directories)? what is the physical path for the default virtual path "/"? - Lesly Bernaola

1 Answers

0
votes

I was able to solve this issue using the Zip Deployment from preview version.