Welcome to the GitHub Actions workshop! This workshop will teach you how to use GitHub Actions to automate your workflows.
GitHub Actions are a way to automate your workflows. Anything that needs to be done every time something happens it typically a job for machines. GitHub Actions can trigger any time code changes, a pull request is opened, a new release is created, and more. You can even add a button in the GitHub UI to trigger a workflow manually.
Typical use cases for GitHub Actions include:
- Running tests
- Building and deploying applications
- Sending notifications
- Creating releases
- Checking for security vulnerabilities
Ok, that's the introduction out of the way, let's get started!
The workshop consists of five main tasks:
- Create a workflow
- Building code in a workflow
- Running multiple jobs
- Running jobs in parallel
- Deploying to GitHub Pages
- Using other events to run workflows
- A GitHub account
- A text editor (e.g. Visual Studio Code)
If you don't want to use a text editor, it's possible to do everything on https://github.dev, which essentially is a web-based version of Visual Studio Code.
- Click the "Use this template" button at the top of this repository to create a new repository from this template. If you need to decide, set your own user as the owner of the new repository.
- Call the repository
gh-actions-workshop.
If you're doing things locally:
- Clone your new repository
- Open your new repository in your text editor
If you're doing things on https://github.dev:
- Open your repository on https://github.dev/[your-username]/gh-actions-workshop
Now you're ready to go! Please proceed to task 1.