Hooks - running stuff on Github hooks April 19, 2015 on Drew DeVault's blog

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 that example allows you to accept hooks from Github and from localhost. Then you run Hooks itself, it will execute your command when you push a commit to your repository.

This allows you to do continuous deployment on the cheap and easy. I hope you find it useful. Hooks.

Articles from blogs I read Generated by openring

Extensible Wasm Applications with Go

Go 1.24 enhances WebAssembly capabilities with function export and reactor mode

via The Go Blog February 13, 2025

Summary of changes for January 2025

Hey everyone!This is the list of all the changes we've done to our projects during the month of January. Summary Of Changes 100r.co, added a new page: tote. Added Week 8 and Week 9 of the Victoria to Sitka logbook. Tote, released the project on itch.…

via Hundred Rabbits February 1, 2025

BodgeOS pt.4: A working browser

After the previous post about bringing up Sway I spend a bit of time packaging random system components you'd expect for a desktop system. Mainly building GTK so I can have some actual applications running. This is mainly pretty relaxing work. Find a …

via BrixIT Blog January 25, 2025