🎓 A1Learner
🔍
0 of 50 lessons completed

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.

Start learning ❯❯50 lessons · 12 topics · 0/50 completed

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

Start: CI/CD: What It Is ❯

Your First Workflow

Start: GitHub Actions: Your First Repository and the Actions Tab ❯

YAML for Workflows

Start: GitHub Actions: YAML in Ten Minutes ❯

Triggers

Start: GitHub Actions: Triggers — push and pull_request ❯

Jobs, Steps and Runners

Start: GitHub Actions: Jobs and Steps ❯

Actions and the Marketplace

Start: GitHub Actions: What Is an Action? ❯

Testing in CI

Start: GitHub Actions: Running Tests on Every Push ❯

Caching, Artifacts and Speed

Start: GitHub Actions: Caching Dependencies ❯

Variables, Secrets and Security

Start: GitHub Actions: Environment Variables ❯

Deploying

Start: GitHub Actions: Deploy to GitHub Pages ❯

Reuse and Scale

Start: GitHub Actions: Reusable Workflows ❯

Debugging, Cost and Capstone

Start: GitHub Actions: Reading Logs ❯

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