Actions can be loaded from any public repository. See how a public Action can be used in your Workflow.
- So far, we've seen how to add featured actions … from the Visual Workflow Editor and from the Market Place. … But, of course, these aren't the only ways … to add actions to a workflow. … If we're coding a workflow, in a text editor, … for example, we can add actions from repositories … in a few different ways. … We can reference an action in the same repo … as the workflow, any public repository … and even Docker images published to an image repository … like Docker Hub. … Every action is required to have a unique identifier … and a uses attribute. … The unique identifier makes the action addressable … in a workflow and the uses attribute specifies … a reference to the action's code. … If we want to use an action in the same repository … as the workflow, we can specify any path, … relative to the route of the repo. … So, if the target action was inside the .gibhub directory … in a directory named action1, … we would use the path starting with a . followed … by a / and so on all the way down …
Author
Released
5/28/2019- Creating an action
- Creating a workflow
- Adding actions to a workflow
- Using an action from a repository
- Using environment variables
- Building custom actions
- Use cases for actions and workflows
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 know2m 10s
-
Exercise files1m 49s
-
1. Your first Action
-
Your first Action4m 2s
-
Action attributes3m 50s
-
-
2. Connecting Actions with Workflows
-
Create a workflow2m 56s
-
Add actions to a workflow2m 52s
-
-
3. Using Actions
-
Using environment variables2m 53s
-
Using secrets2m 49s
-
4. Building Custom Actions
-
Plan a custom action4m 29s
-
Your custom action objective1m 25s
-
Dockerfile review6m 2s
-
Add a Dockerfile2m 45s
-
Add an entry-point script2m 54s
-
Test an action locally4m 43s
-
Use labels in a Dockerfile3m 10s
-
Deploy a custom action4m 5s
-
-
5. Use Cases
-
Continuous integration4m 37s
-
Pull requests3m 58s
-
Deploying a web application3m 22s
-
Conclusion
-
Next steps28s
-
- 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: Use an action from a repository