Maintained with ☕️ by
IcePanel logo

Generally available: Static Web Apps support for stable URLs for preview environments

Share

Services

When you deploy a site to Azure Static Web Apps, each pull request against your production branch will generate a preview deployment available at a temporary URL. This can be configured in the GitHub Actions workflow by enabling deployment from branches or by specifying a deployment environment name. To deploy non-production branches to a preview environment, you are required to update the GitHub workflow to run when a push is made to the specific branches and define the _production\_branch_ property in the _build\_and\_deploy\_job_ configuration. Alternatively, you can push changes to a named preview environment by configuring a _deployment\_environment_ property in the workflow. [Learn more.](https://aka.ms/aswastablepreview) * Static Web Apps * Features