4.71 out of 5
4.71
3401 reviews on Udemy

GitHub Actions – The Complete Guide

Learn how to build automated CI / CD workflows with GitHub's DevOps service.
Instructor:
Academind by Maximilian Schwarzmüller
29,453 students enrolled
English [CC] More
Use GitHub Actions to build automated workflows & processes
Automate code-based and project-based tasks
Run simple and complex workflows on a broad variety of triggers
Build powerful CI / CD workflows, including runtime configuration, security and conditional execution
Build custom actions or leverage public community solutions
How to secure GitHub Action workflows

GitHub Actions is an extremely popular and fast-growing CI / CD automation service offered by GitHub.

This course teaches GitHub Actions from the ground up, without any prior GitHub Actions knowledge assumed or required.

In order to handle growing development and code complexity and deploy application updates with high frequency, powerful automation platforms and tools are required. As you will learn throughout this course, GitHub Actions is such a platform, enabling you to automate anything from code testing, building and deployment all the way up to GitHub repository and project management.

With this course, you’ll learn:

  • About all key GitHub Actions building blocks & components

  • How to build and orchestrate both simple and complex workflows

  • How to connect workflows to events & configure event details

  • How to run jobs or job steps conditionally

  • How to manage environment variables

  • How to handle job results, outputs and inputs

  • How to leverage community actions

  • How to build custom actions

  • How to secure workflows and jobs

  • And much more!

This course requires no prior GitHub Actions knowledge. You also don’t need to be an advanced developer or Git / GitHub user, though fundamental development and Git knowledge is recommended – though the course does come with a Git & GitHub refresher module.

This course is a practice-oriented courses, exploring all key concepts whilst diving into concrete examples. You’ll build different workflows for multiple projects and requirements.

You will also learn how to interact with GitHub APIs and implement third-party (and custom) Actions into your workflows.

Getting Started

1
Welcome to the Course!
2
What Is "GitHub Actions"?
3
Git, GitHub & GitHub Actions
4
About This Course
5
Join The Discord Community!
6
Course Code Attachments & Slides

Git & GitHub Crash Course [Optional]

1
Module Introduction
2
Getting Started with Git
3
Configuring Git
4
Project Setup
5
Working with (Local) Git Repositories
6
Staging Files & Creating Commits
7
Multiple Commits & Checking Out Snapshots
8
Reverting Changes with "git revert"
9
Resetting Code with "git reset"
10
Staging Multiple Files & Ignoring with gitignore
11
Understanding Branches
12
Working with Branches
13
Merging Branches
14
GitHub Introduction
15
Creating a GitHub Account
16
Creating a (Remote) GitHub Repository
17
Connecting Local & Remote Repositories
18
Pushing Commits & Understanding Permissions
19
GitHub & Branches
20
Readme Files & Pulling Changes
21
Cloning Repositories
22
Making Changes As A Different User (Non-Owner)
23
GitHub Issues & Collaborators
24
Working with Pull Requests
25
Understanding & Using Forks
26
Module Summary

GitHub Actions - Basic Building Blocks & Components

1
Module Introduction
2
Key Components: Workflows, Jobs, Steps & More
3
GitHub Actions: Availability & Pricing
4
Creating a First Workflow
5
Running the First Workflow
6
Running Multi-Line Shell Commands
7
Onwards to a More Realistic Example
8
A New Workflow & The "push" Event
9
Using Actions In Workflows
10
Checking Out Code In Workflows
11
Configuring Actions
12
Adding More Workflow Job Steps
13
Failing Workflows & Analyzing Workflows
14
Adding Multiple Jobs
15
Jobs: In Parallel vs Sequential
16
Using Multiple Triggers (Events)
17
Expressions & Context Objects
18
Module Summary
19
Time to Practice: The Problem
20
Time to Practice: Solution

Workflows & Events - Deep Dive

1
Module Introduction
2
Which Events Can You Use?
3
A Demo Project Setup
4
More on the "push" Event
5
Introducing Event Filters & Activity Types
6
Using Activity Types
7
Using Event Filters
8
Special Behavior: Forks & Pull Request Events
9
Cancelling Workflows & Skipping Workflows
10
Module Summary

Job Artifacts & Outputs

1
Module Introduction
2
Demo Project Setup
3
Understanding Job Artifacts
4
Artifacts - An Example
5
Uploading Job Artifacts
6
Downloading Artifacts (Manually & Automatically)
7
Understanding Job Outputs
8
Job Outputs - An Example
9
Using Job Outputs In Other Jobs
10
The Need For Dependency Caching
11
Caching Dependencies in Practice
12
Using & Invalidating Caches
13
Module Summary

Using Environment Variables & Secrets

1
Module Introduction
2
Project Setup & Understanding Environment Variables
3
Providing Environment Variable Values
4
Demo: Creating a Database & Using Database Environment Variable Values
5
Using Environment Variables in Code & Workflows
6
Default Environment Variables
7
Understanding & Using Secrets
8
Utilizing Repository Environments
9
Module Summary

Controlling Workflow & Job Execution

1
Module Introduction
2
Understanding Conditional Steps & Jobs
3
Demo Project Setup
4
Understanding a (Potential) Problem: A Failing Step
5
Controlling Execution via "if"
6
Working with Special Conditional Functions
7
Conditional Jobs
8
More "if" Examples
9
Ignoring Errors & Failures with "continue-on-error"
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.7
4.7 out of 5
3401 Ratings

Detailed Rating

Stars 5
2387
Stars 4
884
Stars 3
95
Stars 2
5
Stars 1
8