Upon updating code for a Static Website in GitHub, how longt till Microsoft Azure Receives the update?

Daniel Verkman 20 Reputation points
2024-09-19T18:01:34.83+00:00

Hi,

I just updated my code in GitHub, that supports my Azure hosted Static Web Application.

Is Azure notified that the code has changed, and the Website is automatically updated, or do I need to manually do something via the Portal to update the website to pickup the code changes? If so, what is the process?

Thanks!

Dan

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
921 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,506 Reputation points
    2024-09-20T06:53:25.0166667+00:00

    @Daniel Verkman Thanks for asking question!

    If you have configured continuous deployment for your Azure Static Web App, then Azure will automatically detect changes to your code in GitHub and deploy the updated code to your web app.

    To configure continuous deployment for your Azure Static Web App, you need to connect your GitHub repository to your web app in the Azure portal. Once you have connected your repository, Azure will automatically build and deploy your app every time you push changes to your repository.

    If you have already configured continuous deployment for your web app, then you do not need to manually do anything via the portal to update your website. Azure will automatically detect the changes and deploy the updated code.

    If you have not yet configured continuous deployment for your web app, you can follow the steps in this tutorial to set it up:

    https://docs.microsoft.com/en-us/azure/static-web-apps/publish-devops

    I hope this helps! Let me know.

    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.