I have a service where users can 'deploy' data, but right now they have to manually execute the deployment once they make updates. I would like to do it automatically when they push to a remote git repo that this service has access to. Lets say the user has done the following in their local repo:
git remote add AutoUpdater <whatever the URL is>
Then they make whatever updates to their local stuff, and push their commit to this remote repo:
git add .
git commit -m "version x.x.x"
git push AutoUpdater master
How can I check this AutoUpdater
repo to see when users have pushed changes and know when to take action? I would prefer to use C#, which means I'll probably end up using LibGit2Sharp.