CI/CD

How to add a Workflow to a repository?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

CLI:

  1. Create the directory .github/workflows in the repository
  2. Add a YAML file

UI:

  1. In the repository page, click on "Actions"
  2. Choose workflow and click on "Set up this workflow"