Hooks - running stuff on Github hooks

1 · Drew DeVault · April 19, 2015, midnight
I found myself in need of a simple tool for deploying a project on every git commit, but I didn’t have a build server set up. This led to Hooks - a very simple tool that allows you to run arbitrary commands when Github’s hooks execute. The configuration is very simple. In /etc/hooks.conf, write: [truecraft] repository=SirCmpwn/TrueCraft branch=master command=systemctl restart hooks valid_ips=204.232.175.64/27,192.30.252.0/22,127.0.0.1 You may include any number of hooks. The valid_ips entry in ...