Interview Prep/Git & GitHub/GitHub Actions, environments and releases in production

Design a progressive delivery pipeline from merge to production using GitHub Actions and environments.

AdvancedProductionGitHub Actions, environments and releases in production
Answer

Merge to main builds one immutable image tagged with the SHA. A dev environment deploys automatically, integration tests run, staging deploys with a smoke suite, and production needs a required reviewer and a wait timer. Production rolls out via canary (Argo Rollouts or similar) with automated analysis and rollback on error-rate SLO breach. Every stage uses the same digest, and each deploy is recorded as a GitHub Deployment so the history is visible.

All Git & GitHub questions Roadmap: Git & GitHub

More on GitHub Actions, environments and releases in production