Exercise files are provided to help you get started with the code from the lessons in this course. In this video, learn how to initialize a local Git repo and push the exercise files to a GitHub.
- [Instructor] To help you get the most out of this course, exercise files are available for you to use. You can refer to these files to follow along or as a starting point for working with GitHub Actions. After you're downloading the archive and unzipping it you'll have a directory structure similar to this. Let's use chapter one, lesson one, as an example, so I'll CD into that directory. And let's take a look at the files that are in here. To work with the exercise files in GitHub, you'll need to create a repo and connect it to this directory. I've already created a repo so let's take a look at that. GitHub has been helpful enough to give us all of the commands we need to connect our local workspace to this repository. I'll just click this keyboard here to copy all the commands and then go back to the terminal. Back in the terminal, I just need to paste the commands in. Sweet. Now let's see how this looks in GitHub, and I'll refresh the screen. Cool, all of our files are here. Okay, now that the exercise files are running in GitHub we can get to work. From here you'll be able to use the workflows and actions included in the exercise files.
Author
Released
2/21/2020- Creating an action
- Creating a workflow
- Adding actions to a workflow
- Using an action from a repository
- Developing a CI/CD pipeline with GitHub Actions
- Building custom actions
- Publishing an action to the GitHub Marketplace
Skill Level Beginner
Duration
Views
Related Courses
-
Learning Jenkins
with Michael Jenkins1h 20m Beginner -
Learning GitHub
with Aaron Stewart2h 11m Beginner -
GitHub Essential Training
with Aaron Stewart2h 48m Intermediate
-
Introduction
-
What you should know1m 32s
-
Working with YAML files1m 25s
-
1. Your First Action
-
Your first Action2m 31s
-
-
2. Connecting Actions with Workflows
-
Create a workflow3m 11s
-
Add actions to a workflow4m 27s
-
Run a workflow2m 31s
-
Add conditions to a workflow2m 40s
-
-
3. Using Actions
-
Using secrets4m 1s
-
Using artifacts4m 7s
-
Manage pull requests3m 30s
-
4. Developing a CI/CD Workflow
-
Plan your CI/CD pipeline1m 53s
-
Linting and unit tests2m 7s
-
Testing1m 44s
-
Deploying1m 38s
-
-
5. Building Custom Actions
-
Plan a custom action4m 22s
-
Dockerfile review4m 58s
-
Add a Dockerfile2m 20s
-
Add an entry-point script2m 30s
-
Test an action locally3m 52s
-
Add a metadata file2m 50s
-
Add a README file1m 48s
-
Deploy a custom action2m 22s
-
-
Conclusion
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Setting up the exercise files