GitHub Actions for Beginners

iEatWebsites Guide 2 years ago

説明

If you have some experience using GitHub, but never user GitHub Actions before, this video tutorial is for you.

CHAPTERS:
0:00 Intro
0:10 Finding GitHub Actions in your account
0:50 Creating the Workflows folder
1:15 Creating the YAML file
1:34 Coding Actions
5:33 Pushing Actions code to repository
5:56 Fixing any errors
6:29 Testing the Actions
7:22 Creating another job
9:47 Adding conditionals
10:57 Creating another branch
11:33 Pushing new branch

Here's the YAML file: https://gist.github.com/ieatwebsites/aea52e441a4b2e0debefbc76375c00b7

More details about "ubuntu-lastest" runner:

- https://github.blog/changelog/2022-11-09-github-actions-ubuntu-latest-workflows-will-use-ubuntu-22-04/

- https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners

Details about "checkout@v3":

https://github.com/actions/checkout