When you need staging
Multiple developers
Each PR has its own preview, but a shared staging is where they integrate before production.
QA team
QA tests against a known stable environment, separate from individual PR previews.
Customer demos
Sales team demos against staging — predictable URL, controlled state.
Regulatory review
Compliance reviews of new features before they hit production.
Standard 3-stage flow
- Preview → Staging: open a PR, merge to a
stagingbranch (or click “Promote to staging” in vly’s UI). - Staging → Production: manual promotion after sign-off.
Setting up
1
Add the staging environment
Settings → Environments → Add. Name:
staging.2
Configure secrets
Production keys (so it behaves like production) OR test keys (so payments / emails are sandboxed).
3
Add a staging domain
staging.yourapp.com → CNAME to the staging environment.4
Document the promotion process
Who can promote, when, what gates apply. Add to your team’s playbook.
Promotion gates
For higher-trust environments:- PR review required (via GitHub integration).
- Test suite passing (GitHub Actions).
- Automated smoke tests against staging before promoting to production.
- Manual sign-off by a release manager.
Tips
Related
Environments
Adding and configuring.
Rollback
The escape hatch.
Preview deployments
Per-change previews.
