Search code examples
azureazure-web-app-service

How do I know which YAML configuration I need for my Web App (App servce)


I'm trying to setup CI for my web app and I have the pipeline setup in ADO, but I don't see my changes reflecting on the web app. I suspect I don't have my YAML file configured and not sure which example is the best for me to follow.

  • Publishing model - Code
  • Runtime Stack - Dotnet - v6.0
  • Windows

https://learn.microsoft.com/en-us/azure/app-service/deploy-azure-pipelines?view=azure-devops&tabs=yaml


Solution

  • I was able to get this working.

    One thing I found was that my virtual directory was configured to the wrong location. It needed to be site\wwwroot. I also needed to update my YAML to $(Build.SourcesDirectory )/src and includeRootFolder = false