Home / GitHub Actions
GitHub Actions
GitHub Actions from a first workflow to a full CI/CD pipeline: YAML, triggers, jobs, actions, tests, caching, artifacts, secrets, OIDC and Pages deploys. Every closing workflow shows the expected result.
GitHub Actions runs your tests, builds and deploys automatically on every push. This course takes you from your first workflow file to a full CI/CD pipeline with tests, caching, artifacts, environments and approvals, one short lesson at a time.
Course contents
Work top to bottom — the sidebar is the course. Topics later in the list assume the ones before them.
What CI/CD Is
- CI/CD: What It Is
- CI/CD: Continuous Integration
- CI/CD: Continuous Delivery vs Continuous Deployment
- GitHub Actions: What It Is
Your First Workflow
- GitHub Actions: Your First Repository and the Actions Tab
- GitHub Actions: Your First Workflow File
- GitHub Actions: Push It and Watch It Run
- GitHub Actions: Workflow Templates
- GitHub Actions: The Status Badge
YAML for Workflows
- GitHub Actions: YAML in Ten Minutes
- GitHub Actions: Reading a Workflow Line by Line
- GitHub Actions: Common YAML Mistakes
Triggers
- GitHub Actions: Triggers — push and pull_request
- GitHub Actions: Branch, Tag and Path Filters
- GitHub Actions: Manual and Scheduled Triggers
- GitHub Actions: Why Isn't My Workflow Running?
Jobs, Steps and Runners
- GitHub Actions: Jobs and Steps
- GitHub Actions: Runners
- GitHub Actions: Chaining Jobs with needs
- GitHub Actions: Conditions with if
Actions and the Marketplace
- GitHub Actions: What Is an Action?
- GitHub Actions: actions/checkout
- GitHub Actions: setup-node and setup-python
- GitHub Actions: The Marketplace and Version Pins
Testing in CI
- GitHub Actions: Running Tests on Every Push
- GitHub Actions: Linting and Typechecking
- GitHub Actions: Matrix Builds
- GitHub Actions: Branch Protection and Required Checks
Caching, Artifacts and Speed
- GitHub Actions: Caching Dependencies
- GitHub Actions: Artifacts Between Jobs
- GitHub Actions: Outputs and Passing Data Between Jobs
Variables, Secrets and Security
- GitHub Actions: Environment Variables
- GitHub Actions: Secrets
- GitHub Actions: Variables vs Secrets vs Contexts
- GitHub Actions: Permissions and GITHUB_TOKEN
- GitHub Actions: OIDC — Secrets Without Storing Secrets
Deploying
- GitHub Actions: Deploy to GitHub Pages
- GitHub Actions: Environments and Approvals
- GitHub Actions: Deploy a Node App
- GitHub Actions: Deploy a Docker Image
- GitHub Actions: Rollback — When a Deploy Goes Wrong
Reuse and Scale
- GitHub Actions: Reusable Workflows
- GitHub Actions: Composite Actions
- GitHub Actions: Concurrency
- GitHub Actions: Self-Hosted Runners
Debugging, Cost and Capstone
- GitHub Actions: Reading Logs
- GitHub Actions: Debug Logging
- GitHub Actions: Local Testing with act
- GitHub Actions: Cost and Free Minutes
- GitHub Actions: Capstone — A Full CI/CD Pipeline
What you will learn
You will write your first workflow, trigger it from pushes, pull requests, schedules and manual runs, and read its logs when it goes red.
You will also test in Node and Python, cache dependencies, pass artifacts between jobs, guard secrets, deploy to GitHub Pages behind an approval, and reuse workflows across repos.
By the end of the course you will be able to:
- Write workflows in YAML and read one line by line
- Trigger runs from pushes, pull requests, schedules and manual dispatch
- Test, lint and build on every push, across Node versions and operating systems
- Cache dependencies and pass artifacts between jobs
- Keep credentials in secrets and deploy with short-lived OIDC credentials
- Deploy to GitHub Pages behind an environment approval
- Reuse workflows and build composite actions of your own
How the course works
Every lesson is short, with a focused example first and one exercise at the end. Every closing workflow shows the expected result, with the test, lint and build outputs checked against the demo code.
The course ends with a capstone: a full CI/CD pipeline with lint, tests, a matrix build, caching, artifacts, a Pages deploy behind an approval, and a nightly run.
Frequently asked questions
Do I need a GitHub account to follow this course?
Yes, to run the workflows yourself. The demo repo is public, so you can fork it and push the workflows from each lesson. Every closing example shows the expected result, with the test, lint and build outputs checked against the demo code, so you can follow along by reading even before you push anything.
Can GitHub Actions run in the browser on this site?
No. Workflows run on GitHub runners, not in the browser, so the Try-it box shows the expected result instead of running the workflow here.
What versions do the examples use?
actions/checkout@v7, actions/setup-node@v7, actions/setup-python@v7, actions/upload-artifact@v7, actions/download-artifact@v8, actions/cache@v6, Node 24 LTS and Python 3.13. Every action is pinned to its current major version.
Is GitHub Actions free?
Public repos are free. Private repos on the Free plan get a $12 usage pool. Lesson 49 shows how to read the meter and keep runs cheap.
Next steps
- CI/CD: What It Is ❯ — Start the course: the problem CI/CD solves.
- GitHub Actions: Your First Workflow File ❯ — Write your first workflow and watch it run.
- GitHub Actions: Capstone — A Full CI/CD Pipeline ❯ — The capstone: lint, tests, matrix, deploy and a nightly run.