Update README.md (#399)

Add the command structure and another example for a non-default event command to make the usage more clear
This commit is contained in:
Benjamin Räthlein 2020-10-21 17:09:40 +02:00 committed by GitHub
parent 4791a9bc44
commit 1e69525fb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,9 +49,15 @@ or in a shell by running
# Commands
```
# List the actions
# Command structure:
act [event name to run] [flags]
# List the actions for the default event:
act -l
# List the actions for a specific event:
act workflow_dispatch -l
# Run the default (`push`) event:
act