@ctietze Thanks. It’s pretty simple, really, on the Codeberg/Forgejo side, they use git hooks to make a HTTPS request to the webhook URL whenever there’s a push (in this case, only to the main branch). On the Kitten side, Kitten deploys apps from their git repositories so all it has to do is pull in the latest changes.
This is the webhook code on the Kitten side of things:
https://codeberg.org/kitten/app/src/branch/main/web/💕/webhook/index.post.js