Hey folks,
I have been trying to set up external Git hooks in my Gitea instance & I am facing issues. I followed the documentation to the letter, created the custom hooks folder, made sure permissions were set right & even wrote a simple pre-receive script just to test if things were triggering at all But for some reason, it is such as Gitea is totally ignoring them. No logs, no errors, nothing happens.
I am self-hosting on a Linux box & using the stable Gitea version. Everything else works perfectly pushing, cloning, issues But these hooks just won’t trigger. Has anyone managed to get custom or external Git hooks working reliably with Gitea? Want to hear how you got it done or if there is something extra I need to tweak.
Also, slightly off-topic but I enrolled in a CCSP Training course & now my brain’s extra paranoid about security, so making sure these hooks are working has become a priority.
Thank you.