Introduction to GitHub Actions
GitHub Actions is a CI/CD platform built into GitHub.
Key concepts
- Workflow: a YAML file in
.github/workflows/ - Event: what triggers the workflow (push, PR, schedule)
- Job: a group of steps running on a runner
- Step: a single task
Hello World
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: echo "Hello, Actions!"