AZpublic-preview-stable-urls-for-preview-environments-in-azure-static-web-apps: Public preview: Stable URLs for preview environments in Azure Static Web Apps

Published . Last updated .

Microsoft Azure update AZpublic-preview-stable-urls-for-preview-environments-in-azure-static-web-apps.

Azure update ID
AZpublic-preview-stable-urls-for-preview-environments-in-azure-static-web-apps
Services
Static Web Apps
Tags
Features

Release overview

Release status
In preview
Public preview
April 2022
Product categories
Compute, Web

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. Today, we’re announcing expanded support for preview deployments with stable URLs. 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, it is 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.