tldr/pages/common/act.md

33 lines
447 B
Markdown
Raw Normal View History

2019-09-05 13:13:13 +01:00
# act
> Execute GitHub Actions locally using Docker.
> More information: <https://github.com/nektos/act>.
- [l]ist the available actions:
2019-09-05 13:13:13 +01:00
`act -l`
- Run the default event:
`act`
- Run a specific event:
`act {{event_type}}`
- Run a specific [a]ction:
2019-09-05 13:13:13 +01:00
`act -a {{action_id}}`
- Do [n]ot actually run the actions (i.e. a dry run):
2019-09-05 13:13:13 +01:00
`act -n`
- Show [v]erbose logs:
2019-09-05 13:13:13 +01:00
`act -v`
- Run a specific [W]orkflow:
`act push -W {{path/to/workflow}}`