Reputation: 753
I have a new version of my web app and after a new deployment from a new Bitbucket repo the old version is still served. I've deleted the App Service and then created it again, but still the old stuff is served. Everything I've tried results in a successful deployment of the new code, but when I browse the site, the old version is served. To get rid of the old code can I go to the console and just delete everything in site/wwwroot? Is there a git repo in Azure I can initialize?
Upvotes: 2
Views: 5894
Reputation: 18465
According to your description, I assumed that you are using continuous deployment for your Azure App Service app. AFAIK, for basic web site deployment, azure would clone your Bitbucket repo to D:\home\site\repository
, then restore packages or compile your project, then deploy your project to D:\home\site\wwwroot
.
As David commented that you could leverage KUDU or ftp tool (e.g. FileZilla) to check your files under site\wwwroot
and site\repository
, and compare with your Bitbucket repo to make sure your source code has been synced into site\repository
.
Also, you could try to delete site\wwwroot
and site\repository
via KUDU, then Disconnect and set your continuous deployment again on Azure portal to isolate this issue.
Upvotes: 5