mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-01 06:54:16 +00:00
Update cheatsheets
This commit is contained in:
37
act
Normal file
37
act
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# act
|
||||
|
||||
> Execute GitHub Actions locally using Docker.
|
||||
> More information: <https://github.com/nektos/act>.
|
||||
|
||||
- [l]ist the available jobs:
|
||||
|
||||
`act -l`
|
||||
|
||||
- Run the default event:
|
||||
|
||||
`act`
|
||||
|
||||
- Run a specific event:
|
||||
|
||||
`act {{event_type}}`
|
||||
|
||||
- Run a specific [j]ob:
|
||||
|
||||
`act -j {{job_id}}`
|
||||
|
||||
- Do [n]ot actually run the actions (i.e. a dry run):
|
||||
|
||||
`act -n`
|
||||
|
||||
- Show [v]erbose logs:
|
||||
|
||||
`act -v`
|
||||
|
||||
- Run a specific [W]orkflow with the push event:
|
||||
|
||||
`act push -W {{path/to/workflow}}`
|
||||
Reference in New Issue
Block a user