GitHub Actions is designed to run your jobs in a free runner from a repository.
The jobs are like “publish your own blog” or “build docker” and so on.
How to use
First, you need a GitHub account. Register a GitHub account at here.
Next, create a repository here. You can name the repository with any name you want.
Then, create a file in the repository that you created called .github/workflows/<name>.[yml/yaml]
. Fill it with the following:
1 | name: <workflow_name> |
If you set it automatically run after push or pull request operations, you’re already done. If you set workflow_dispatch
, go to Action page, then you can find your defined workflow <workflow_name>
in the left sidebar. Click it, then choose Run workflow
and click Run workflow
to run the workflow.