View some webhooks
svc-hooks get
but this is pretty verbose. Use --verbose for even more verbosity.
Create some webhooks
svc-hooks create-init
- Fill in the required fields in the generated YAML file.
svc-hooks create <file>
Edit some existing webhooks
svc-hooks edit-init
- Edit fields in the generated YAML file.
- Remove any webhook entries you don't want to change. This is recommended to avoid unexpected errors.
svc-hooks edit <file>
I keep getting an error about null keys and/or missing data in file.
Do not leave any null or undefined values. You can force null with ''
empty string, but may have some unexpected behavior. For example, a git.push
webhook with branch: ''
will trigger on any branch.
What are the supported event types?
See EventTypes.ts for the list of currently supported event types.
See full list of event types and their required parameters here.
I don't understand the parameters.
See full list of event types and their required parameters here.