Latest deployment is not visible on my website even though the code is up-to-date in the site wwwroot.

Aditya Nair 15 Reputation points
2023-01-11T17:10:43.12+00:00

I made some code changes and made a deployment 3 days ago. I did not cross-check the prod site after the deployment. Today I realized that the code changes aren't visible on the website. I checked the wwwroot of the side through kudu and I can see the latest code, but it is not reflecting on the side. We had made many deployments earlier and it was working smoothly. I don't know what happened all of a sudden. We are using nextJS as our framework and Azure App Service to host the app. For deployment, we are using GitHub actions.

Things I have tried:

  • Stopped the app service and started it again.
  • set WEBSITE_LOCAL_CACHE_OPTION = Never and WEBSITE_DYNAMIC_CACHE = 0 to clear the cache.
  • Re-ran the GitHub action jobs to redeploy the site.

None of them has worked yet. Please help me.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,046 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.