The program consists of a github webhook event listener that executes custom commands based on user configuration.
First, you will need to download the binary program and make it executable:
# Downloading with curl
sudo curl -L -o /usr/bin/github-webhook https://github.com/zanz1n/github-webhook/releases/latest/download/github-webhook
# Using chmod to change file permissions
sudo chmod u+x /usr/bin/github-webhookTo run the program:
sudo github-webhook --config /path/to/the/config.ymlAn example of the configuration file (with comments) can be found here.