Skip to content

farolanf/webhook-listener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webhook-listener

Configuration

Example

reload_config: false
projects:
  - repo: farolanf/somerepo
    secret: my-webhook-secret
    events:
      - push
      - event: workflow_run
        status: completed
    dir: /app
    command: ./restart
  • reload_config: reload config on every webhook event
  • projects
    • repo full repository name in the form of <username>/<repo_name>
    • secret the repo webhook secret
    • events allowed events. Defaults to ["push"]
    • dir working dir for the command (optional)
    • command command to run on webhook event

Command Line Arguments

  • -c, --config path to config file. Defaults to ./webhook-listener.yml
  • -p, --port port to listen on. Defaults to 8385

About

Run commands on webhook event

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors