CI/CD with GitHub Actions Learning Path
Build CI/CD pipelines in order: Git workflows, GitHub Actions, tests, caching, secrets, deploy strategies, GitOps and pipeline security. Free.
What you will be able to do
- Explain continuous integration, delivery and deployment
- Write GitHub Actions workflows that build, test and cache
- Use OIDC and secrets instead of long-lived keys
- Pick a blue-green, canary or rolling deploy for a change
- Harden a pipeline against supply chain attacks
11 guide chapters, 4 articles, 3 simulators, 3 interview questions, 1 exercise, 1 checklist, 1 quiz. Every step is free. Tick a step when you finish it, or let the guide, exercise and checklist pages tick it for you.
// stage 014 steps · 52 min
Git and pull requests
Every pipeline starts with a branch and a pull request.
Guide chapter13 min
Git Branches: Create, Switch, Stash and Delete
Create, switch, stash and delete branches.
Guide chapter19 min
Git Workflows: Pull Requests, GitHub Flow, Gitflow
Pull requests, GitHub Flow and Gitflow.
Interview question5 min
Git Branching Strategies
Compare trunk-based development and Gitflow, and say which you would pick.
// stage 024 steps · 36 min
Your first pipeline
Run your tests on every push with a GitHub Actions workflow.
Guide chapter10 min
What Is CI/CD? Your First GitHub Actions Workflow
What CI/CD is, and a first workflow you can run today.
Guide chapter9 min
Workflow Syntax: Triggers, Jobs, Steps and Expressions
Triggers, jobs, steps and expressions.
Guide chapter12 min
Build and Test an Application
Build and test an app on every push and pull request.
Interview question5 min
CI/CD Pipeline Stages
Explain the stages of a pipeline and why each one exists.
// stage 035 steps · 3 h 10 min
Fast, safe builds
Make builds quick, keep secrets out of logs and build a complete pipeline.
Guide chapter14 min
Caching Dependencies and Sharing Artifacts
Cache dependencies and pass artifacts between jobs.
Article16 min
Docker Build Cache on Ephemeral CI Runners: inline, registry and local, Measured
Which Docker cache backend helps on fresh CI runners, measured.
Guide chapter10 min
Environment Variables, Secrets and OIDC
Environment variables, secrets and OIDC instead of stored cloud keys.
Exercise1 h 30 min
Complete CI/CD Pipeline with GitHub Actions
Build a complete pipeline for a real app.
// stage 045 steps · 1 h 8 min
Deploying
Ship to real environments and choose how users meet a new release.
Article12 min
Deployment Strategies: Blue-Green vs Canary vs Rolling
Blue-green, canary and rolling deploys side by side.
Simulator15 min
Deployment Strategies Simulator
Run each strategy and watch what users see during the rollout.
Interview question5 min
Blue-Green Deployment Strategy
Explain blue-green deploys and their trade-offs.
Guide chapter21 min
Matrix Builds, Reusable Workflows and Merge Queues
Matrix builds, reusable workflows and merge queues.
// stage 056 steps · 1 h 34 min
Faster, safer pipelines and GitOps
Debug and speed up workflows, lock them down, and let Git drive deploys.
Guide chapter14 min
Debugging and Speeding Up Workflows
Debug failing workflows and make slow ones faster.
Guide chapter14 min
Securing GitHub Actions Workflows
Lock down permissions, third-party actions and runners.
Article22 min
Software Supply Chain Security: CI/CD Pipeline Hardening, SBOMs, Sigstore and SLSA
SBOMs, signing and SLSA, applied to your own pipeline.
Article14 min
GitOps: Deploy Docker Containers with GitHub Actions and ArgoCD
Deploy containers with GitHub Actions and Argo CD.