My Node.js deployment is not visible on my website even though the code is up-to-date in the site wwwroot on azure

Kitwana Akil 5 Reputation points
2023-03-25T15:31:27.6433333+00:00

My Node.js web app is deployed to Linux on Azure. I am using github actions to update the web app on Azure. When the app is updated from github the wwwroot shows the changes, but none of the changes are reflected on the website.

I have cleared the browser cache ( Safari and Chrome ). I have restarted the web app. I have added WEBSITE_DYNAMIC_CACHE setting set to value=0, and a number of other things, but the site will not update.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
900 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Erkan Sahin 830 Reputation points
    2023-03-25T20:54:00.5+00:00

    It sounds like your Node.js web app is not reflecting the changes you made in your GitHub repository even though the wwwroot shows the changes. Here are some things you can try to resolve this issue:

    First - Verify that your GitHub Actions workflow is running successfully and deploying the updated code to Azure. You can check the logs to see if the deployment was successful.

    • Check that your web app is running on the latest version of Node.js. If it is not, update it to the latest version.
    • Make sure that your web app is actually serving files from the wwwroot folder. You can check the configuration settings for your web app to ensure that it is configured to serve files from the wwwroot folder.
    • Try clearing the cache for your web app by setting the WEBSITE_DYNAMIC_CACHE setting to 0 in your Azure configuration. This will disable caching for your web app.

    Hope this will help you

    0 comments No comments

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.