GitHub Actions¶
GitHub Actions is a CI/CD pipeline tool used for automation.^[400-devops-04-ci-cd-pipelines-github-github-action.md]
Core Concepts¶
A workflow in GitHub Actions follows a specific execution path: event -> workflows -> jobs.^[400-devops-04-ci-cd-pipelines-github-github-action.md]
To utilize the feature, workflow files must be placed in the .github/workflows directory^[400-devops-04-ci-cd-pipelines-github-github-action.md]. Within these workflows, you can define multiple jobs (actions), which can run in parallel^[400-devops-04-ci-cd-pipelines-github-github-action.md].
Execution Environment¶
Jobs are executed on runners, which can be either GitHub-hosted or self-hosted^[400-devops-04-ci-cd-pipelines-github-github-action.md]. A common configuration uses GitHub-hosted virtual machines, such as those running ubuntu-latest^[400-devops-04-ci-cd-pipelines-github-github-action.md].
Use Cases¶
GitHub Actions is frequently used to automate the build and deployment of projects to repositories like GitHub Packages^[400-devops-04-ci-cd-pipelines-github-github-action.md]. It supports build automation for various tools, including Maven, Gradle, and [[Docker]]^[400-devops-04-ci-cd-pipelines-github-github-action.md].
Sources¶
400-devops-04-ci-cd-pipelines-github-github-action.md