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.
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?