0

I'm using Azure DevOps to deploy my source in a WebApp. I have two pipelines for two projects, the first project have been deployed like a charm, but the second not!

When I deploy the second project for a moment I saw the files in wwwroot folder from Kudo Editor, but after some seconds the files disappear and return the old files (webapps folder and hostingstart.html)

I noticed an AppSetting that not appear in first WebApp after deploy: WEBSITE_ENABLE_SYNC_UPDATE_SITE But in documentation I didn't find something that impact it.

Ps: Perhaps wrong, I'm using the same AppService Plan in both WebApp. I think this not impact because the first project works well.

Some help?

Edit:

In /data/SitePackages/ has all zip's from my tries of release, so the deploying is working, but for some reason instead of unzip in wwwroot folder, only appear after release a webapps folder inside wwwroot.

Jean Carlos
  • 1,613
  • 3
  • 18
  • 26

1 Answers1

0

In you web app deploy task, under additional deployment options, make sure that you have the same deployment method for both of the deployments.

Ideally, Web Deploy.

Additional Deployment Options

Community
  • 1
  • 1