I have deployed an application to azure static apps through github actions.The workflow gets triggered on a pull _request event .The workflow gets sucessed But the change is not getting reflected on my website

Justin Joseph 0 Reputation points
2024-04-29T05:28:36.2333333+00:00

I have deployed an application to azure static apps through github actions.The workflow gets triggered on a pull _request event .The workflow gets suce But the change is not getting reflected on my website
Screenshot (21)

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

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 18,541 Reputation points
    2024-04-30T12:14:21.14+00:00

    @Justin Joseph Thanks for reaching here! If you have deployed an application to Azure Static Web Apps through GitHub Actions and the workflow is successful, but the changes are not getting reflected on your website, there are a few things you can check:

    1. Check the build logs: Check the build logs in the Azure portal or in the GitHub Actions workflow to see if there are any errors or issues that could be causing the deployment to fail. Look for any error messages or warnings that could indicate a problem with the build or deployment process.
    2. Confirm folder configuration: Make sure that the deployment settings in Azure Static Web Apps are set up correctly. Check that the branch and folder settings are correct and that the build command and output directory are set up correctly.
    3. Review server errors: Use Application Insights to find runtime error messages. If you don't already have an instance created, refer to Monitoring Azure Static Web Apps. Application Insights logs the full error message and stack trace generated by each error.
    4. Environment variables-
    5. Also, check with the diagnose and solve feature can guide you through steps to troubleshoot problems.

    Let us know.

    0 comments No comments