1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/act.md
jpetot 4669efef74
act: add command for specific workflow (#9855)
* 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>
2023-02-21 12:08:36 +08:00

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}}`