beobal/repo-sync-webhook
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Sinatra app that handles HTTP POSTs from GitHub's post-receive webhook. It parses out the name of the repo and branch then pulls (if the branch is master) or creates a new tracking branch otherwise (using branch -f incase the local branch already exists).