AI Hints
CI/CD with GitHub Actions · Lesson 9 of 138

Where GitHub Actions Fits

Automation inside GitHub.

⏱ 2 min read▶ Video at 9:19🎓 Free
Watch this lesson in the CI/CD with GitHub Actions courseWatch on YouTube ↗Full CI/CD with GitHub Actions course

GitHub Actions is GitHub's built in automation. When something happens in your repository, like a push or a new pull request, GitHub can start a virtual machine, run your commands on it, and show you the results. No separate CI server to install.

Where GitHub Actions Fits
From the video: Where GitHub Actions Fits
  • Built into GitHub
  • Something happens, commands run
  • No CI server to manage

Why GitHub Actions

It's free for public repositories, and has free minutes for private ones. The workflow files live in your repository, so they're versioned with your code. Thousands of ready made actions do common jobs, like installing Python. And the results appear right on your commits and pull requests.

keyvalue
Built inno extra server
Free tierpublic repos free
Marketplaceready-made actions
Resultson every commit and PR

The same ideas everywhere

Other tools do the same job, like GitLab CI, Jenkins, and CircleCI. Their file formats differ, but the ideas are identical. Events start a pipeline, jobs run on machines, and steps run commands. Learn them well once, and you can pick up any CI tool in an afternoon.

GitHub Actionsthis course
GitLab CIsimilar YAML
Jenkinsself-hosted, older
CircleCIhosted CI

Summary

GitHub Actions runs your commands on GitHub's machines when things happen in your repository. Next, the key words you'll see everywhere.

Key takeaways
  • Built into GitHub
  • Workflows in your repo
  • Same ideas as other tools
Next up: The Key Words — workflow, job, step