gtalarico/apidocs.samples

Auto Sync Repos

Opened this issue · 0 comments

Ideally, repos would sync with their respective remotes.
To enable this to happen automatically most likely requires something like this:

  • A server listening to git webhooks
  • Configure all repos to send git webhook on change
  • Serve would pull lastest using githook info and update and push changes to this repo using a github auth token

Totally possible, but not sure it's worth the effort at this time.

The manual equivalent of this is:

~ apidocs.samples
$ rm -rdf repos # to update all, or delete just a specific repo
$ python udpate.py
$ git add .; git commit -m "Updated"; git push