webhook
Create WebHooks with Caddy
WebHook == Run Some Command A webhook is a an HTTP endpoint that triggers ‘some action’. The action will be specific for the application that provides the endpoint. In my case the action/endpoint will update my blog. Let’s ignore for a moment how exactly ‘updating the blog’ works, and just pretend I want to execute some arbitrary command on my server as soon as I call some very specific URL.
WebHook Hugo Deployment
GitHub Actions are Fun… … but it can be a bit slow sometimes. Lately, I experienced total build times of ~10 mins for my very simple blog. This is annoying when I want to fix a small typo (which happens quite often). Even on a good day the build on GitHub takes ~1 min. In contrast, on my local machine a new post is build in less than 1 sec. How is this possible?