LearnDevOpsHands-On Labs
All Tutorials
⚡
High Demand · Beginner

GitHub Actions Workflows

Write automated workflows with triggers, matrix builds, secrets, reusable composite actions, and OIDC AWS authentication.

8 Modules & Lessons
Estimated Time: ~5 Hours

Curriculum & Notes

Click any title or "See Notes" to read concepts

1Module 1: Workflow Syntax & Triggers

4 lessons
Introduction to GitHub Actions

Learn what GitHub Actions is and how it runs your build: workflows, jobs, steps and runners, plus a first working pipeline you can commit today.

GitHub Actions Workflow Syntax

Understand the YAML behind a GitHub Actions workflow: events and filters, job dependencies with needs, if conditionals, contexts and expressions.

GitHub Actions Secrets and Variables

Store workflow credentials without leaking them: repository, environment and organisation scopes, log masking and why fork pull requests get no secrets.

Caching Dependencies in GitHub Actions

Speed up GitHub Actions with actions/cache: write a key that hits, use restore-keys and built-in setup caching, and see why a cache can slow a build.

2Module 2: Secrets, Matrix Builds & Cloud Deployments

4 lessons
GitHub Actions Artifacts

Move files between GitHub Actions jobs and keep build output: upload-artifact v4 behaviour, retention, the immutability change and when a cache fits better.

GitHub Actions Matrix Builds

Run one GitHub Actions job across many versions and platforms: matrix syntax, include and exclude, fail-fast, max-parallel and avoiding a runaway matrix.

Build and Push Docker Images with GitHub Actions

Build and push Docker images with GitHub Actions: set up Buildx, log in to GHCR or ECR, use layer caching that works, tag sensibly and build multi-arch.

Deploy to AWS from GitHub Actions with OIDC

Deploy to AWS from GitHub Actions without stored keys: create the OIDC provider, write the IAM trust policy claim by claim, scope sub and fix common errors.