Hello,
I mirrored a github repo to my gitea server, in the hooks I put a script in the post-update script file that should build the repo and deploy it (to a web server), however it seems the script did not run on a push on the github repo while the local server did get the update.
How can I make sure a script is ran on a github repo commit without periodically reading the github repo?
I thought about webhooks, but as I understand this is for making a http request so I would need to run a separate web server for this locally.
maybe its not in the right hook file, is there one that will update on a mirror repo commit?
or is there a way to use a github hook/script?
Thanks in advance.