I know I can set up a webhooks for server/organization wide post-receive hook. But what I have is a rsync backup bash script to be run on the same server running gitea. Currently it just runs a cron job once a day but I’d rather it run any time any repo commit is pushed to the gitea server.
Is it possible (one hook for server wide)? as opposed to a webhook If so how? I didn’t see anything in the docs.
Alternatively a hack would be to add the same post-receive git hook to every existing and new repo which I guess would effectively be the same. That’s not practical to do manually.