1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 16:35:24 +02:00
tldr/pages/common/act.md

33 lines
517 B
Markdown
Raw Normal View History

2019-09-05 13:13:13 +01:00
# act
> Execute GitHub Actions locally using Docker.
> More information: <https://manned.org/act>.
2019-09-05 13:13:13 +01:00
- List the available jobs:
2019-09-05 13:13:13 +01:00
`act {{[-l|--list]}}`
2019-09-05 13:13:13 +01:00
- Run the default event:
`act`
- Run a specific event:
`act {{event_type}}`
- Run a specific job:
2019-09-05 13:13:13 +01:00
`act {{[-j|--job]}} {{job_id}}`
2019-09-05 13:13:13 +01:00
- Do [n]ot actually run the actions (i.e. a dry run):
2019-09-05 13:13:13 +01:00
`act {{[-n|--dryrun]}}`
2019-09-05 13:13:13 +01:00
- Show verbose logs:
2019-09-05 13:13:13 +01:00
`act {{[-v|--verbose]}}`
- Run a specific workflow with the push event:
`act push {{[-W|--workflows]}} {{path/to/workflow}}`