All systems operational
Cloudphere
← Documentation

Staging and pull-request previews

Try changes away from production: a staging environment that follows a branch, or a temporary preview for every pull request.

Staging

On Staging & previews, choose New staging. The staging environment gets its own address, variables and container. Switch to it with the environment picker at the top of the console, then open its Deployment Center and connect the branch you want to test, such as develop. From then on, every push to that branch deploys to staging.

Pull-request previews

Turn on previews for a service connected through the GitHub App. Each pull request then gets its own temporary environment and address, updated on every push to the pull request. Closing the pull request removes it. Pull requests from forks are not deployed.

What is and isn't copied

Sleep when idle

Staging and preview environments can sleep when nobody is using them, which saves capacity. A sleeping environment wakes on its next visit, which takes a few seconds.

Plan limits

Starter
No staging environments or previews
Business
1 staging environment per service, plus pull-request previews
Scale
2 staging environments per service, plus pull-request previews

Production is never touched by a staging deploy or a preview.