Manuals / CI/CD Pipelines / Chapter 8
C · Speed & Scale · intermediate · Week 5–6 · Chapter 8 of 12
Environments, deployments & approvals
GitHub Environments model staging and production. Protection rules, required reviewers, deployment branches.
Path progress60%
Step 1 of 4
Create environments
Settings → Environments → staging, production. Different secrets per env.
Do this now
Create staging environment. Add STAGING_URL secret.
Was this step clear?
Chapter learning outcomes
- Environment config
- Deployment jobs
- Protection rules
- Deployment history
Clear these before you leave
Side quest
Preview deploy
Optional: deploy PR preview with environment or third-party action.