CI/CD with GitHub Actions · 12-day planAll days
Day 11 of 12 30 minEnvironmentsPagesApprovals
Ship automatically. Deploy only from main after CI passes, use environments for approvals, URLs and environment secrets, publish a static site to GitHub Pages, deploy on demand with workflow_dispatch, and plan for safe rollbacks.
By the end of today you can
- Deploy only after CI passes, and only from main
- Use environments for approvals, deployment URLs and environment secrets
- Publish a site to GitHub Pages with the official actions
- Add a manual deploy with a choice of environment
- Make deployments safe with concurrency, exact versions and rollbacks
What's inside
- 4 sections
- 3 diagrams and mind maps
- 3 code examples you can run
- 5-question quiz
- 1Deploy after CI, from main
- 2GitHub Pages
- 3Deploy on demand
- 4Deploying safely
Sign in free to read this lesson
Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.
Sign in free