mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* Add specific workflow to act * Update pages/common/act.md Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> --------- Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
32 lines
437 B
Markdown
32 lines
437 B
Markdown
# act
|
|
|
|
> Execute GitHub Actions locally using Docker.
|
|
> More information: <https://github.com/nektos/act>.
|
|
|
|
- List the available actions:
|
|
|
|
`act -l`
|
|
|
|
- Run the default event:
|
|
|
|
`act`
|
|
|
|
- Run a specific event:
|
|
|
|
`act {{event_type}}`
|
|
|
|
- Run a specific action:
|
|
|
|
`act -a {{action_id}}`
|
|
|
|
- Do not actually run the actions (i.e. a dry run):
|
|
|
|
`act -n`
|
|
|
|
- Show verbose logs:
|
|
|
|
`act -v`
|
|
|
|
- Run a specific workflow:
|
|
|
|
`act push -W {{path/to/workflow}}`
|