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

How do you use GitHub Environments for approvals?

BeginnerProductionGitHub Actions, environments and releases in production
Answer

Create staging and production environments, add required reviewers, a wait timer and deployment branch rules, and reference them from deploy jobs. The deploy pauses for approval and the approver and time are logged in the Deployment history.

All Git & GitHub questions Roadmap: Git & GitHub

More on GitHub Actions, environments and releases in production