Environments
Choose which branches Snapvisor treats as production deployments versus previews, using a glob pattern on the branch name.
Snapvisor splits deployments into production and preview. A branch pattern decides which is which.
Production deployment branch
Any deployment from a branch that matches the production deployment branch pattern is treated as a production deployment; everything else is a preview. The pattern is a glob and defaults to your repository's default branch (falling back to main).
main
{main,production}
release/**Why it matters
The environment classification drives how a deployment is labelled and how access protection applies — production custom domains can be exempted from login protection while previews stay locked down.
Deployments
Deploy static environments like Storybook and review them on dedicated Snapvisor URLs. Overview of deployment environments, domains, and access protection.
URLs and domains
Pick the subdomain your project's production deployment is served on. Learn the slug rules for Snapvisor production domains.