From the course: GitHub Actions Workshop: Create CI/CD Pipelines to Automate, Build, Test and Deploy your Application by Microsoft Press
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Break down GitHub Actions workflows - GitHub Tutorial
From the course: GitHub Actions Workshop: Create CI/CD Pipelines to Automate, Build, Test and Deploy your Application by Microsoft Press
Break down GitHub Actions workflows
- Now that we know YAML, let's go ahead and put it to use by learning about the components that make up a GitHub actions workflow. These workflow files are basically scripts stored in the .github/workflows directory within your repository. They are written in YAML and you can use them to automate tasks. These tasks can be anything from building your application to testing and deploying, or even administrative tasks, such as sending out messages, pulling data from API endpoints, or almost anything you can think of and would like to automate. This is one of the reasons the word workflow is used for GitHub actions instead of just CI/CD pipelines. The main components of a workflow are its name, which is used to give your workflow a descriptive title. Then you have the word trigger, which is specified with the on keyword. And with this, you're telling GitHub when to run these workflows. Some examples could be whenever someone pushes code to the repository, or you could tell it to run on a…
Contents
-
-
-
-
-
-
(Locked)
Learning objectives1m 5s
-
(Locked)
Learn YAML2m 54s
-
(Locked)
Break down GitHub Actions workflows3m 38s
-
(Locked)
Analyze workflow triggers, jobs, and steps4m 51s
-
(Locked)
Create a simple workflow6m 32s
-
(Locked)
Compare GitHub Actions runners3m 22s
-
(Locked)
Set up a self-hosted runner9m 30s
-
(Locked)
-
-
-
-
-
-
-