- From images you have provided that, Your git -finished log shows that your new commit was successfully pushed (improving API on April 28, 2025).
- However, when you inspect the Azure Web app/home/site/wwwroot directory, the files are still from the old deployment (24 April 2025).
- This usually occurs because the local git -finance is not automatically extracted on the azure and place the latest build output in /wwwroot /.
- Instead, Azure uses a temporary construction directory during the sins (often/TMP) and publishes only after a successful build stage/home/site/wwwroot/only after a successful build phase.
- In your case, it seems that the construction of the deployment was successful, but the publication step was not completed properly. Hence the old version remains active.
The most common cause:
Build Artifact (output) was created, but did not copy to / wwwroot / folder.
The deployment script may remember the published phase.
A permitted or storage quota can be a issue.
Sometimes, an Azure Deployment engine bug may be the cause of incomplete publication.
You can also check:
Manually use the Sink Pretty Arts: Azure Portal> Deployment Center> Sink option.
Go to your web app in Azure portal.
Click on SYNC to trigger redevelopment and artifact sinks.
Under the Personnel Center> Log, verify whether the publishing phase has succeeded or if there were hidden errors.
If the sink does not work, you can reopen your changes or use Kudu console:
- Visit
https://<yourapp>.scm.azurewebsites.net/DebugConsole
. - Navigate to the build artifact location and manually copy files into
/home/site/wwwroot/
.
Ensure that the scm_do_build_during_deployment configuration is set on the correct in the application settings. (This setting ensures proper construction and deployment.)
If everything else fails, you can clearly clear and re -deploy wwwroot. Be very careful with this - backup first.
https://learn.microsoft.com/en-us/azure/app-service/deploy-local-git?tabs=cli#troubleshoot-deployment
If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.
Let me know if you have any further Queries.