Auto github pull for shiny server

I set up a shiny server on a digital ocean droplet. I've been doing local development on my machine, pushing to Github and then SSHing into my server to pull my updates. My workflow has been
push for local machine to Github then SSH

cd /srv/shiny-server
git pull

This works fine, but I would like to automate this process so my server pulls the latest changes from Github. I looked into using webhooks, but haven't been able to get it to work correctly.

Does anyone have resources either on webhooks or a different method to automate this workflow? I would like to stay away from Jenkins or other services for now and just keep this as simple as possible.


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.