Use github webhooks. They ping an address / url with specific updates you want it to listen for. On the server side you have a simple server listening which validates the ping to make sure it's coming from github, and if valid, you use the payload in whichever way necessary.
For instance, if the ping is simply to tell your server that the repo branch was updated, then that would just trigger your server to perform a git pull on that branch.