From the course: Learning GitHub Actions
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Your custom action objective - GitHub Tutorial
From the course: Learning GitHub Actions
Your custom action objective
- [Instructor] For our custom action, let's pick something that we do often that can be automated. For example, creating a release is easy enough to do manually. I'm looking at the release page for this repository, and to create a release, I could just click the create a new release button, and then, I would fill out the form, you know, give it a tag and a message, and then, I would click publish release, but I'm thinking it would be pretty cool to have an action that can create a release for me based on a keyword in a commit message. Let's say I'm working on a bug in my super cool project and I fixed it by adding a new file. Now I'm ready to commit the code, and in my commit message, I include a keyword like fixed, and I'll also say the bug has been squashed. Now when I push the code, my action would see the keyword fixed in my commit message and automatically create a release. That will save me some time since I won't…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Plan a custom action4m 28s
-
(Locked)
Your custom action objective1m 7s
-
(Locked)
Dockerfile review4m 58s
-
(Locked)
Add a Dockerfile2m 20s
-
(Locked)
Add an entry-point script2m 30s
-
(Locked)
Use runtime environment resources4m 11s
-
(Locked)
Test an action locally3m 52s
-
(Locked)
Complete the entry-point script2m 2s
-
(Locked)
Add a metadata file2m 48s
-
(Locked)
Add a README file1m 48s
-
(Locked)
Deploy a custom action2m 22s
-
(Locked)
Publish an action to the Marketplace4m 16s
-
(Locked)
Challenge: Create a custom action1m
-
(Locked)
Solution: Create a custom action7m 47s
-
(Locked)
-