Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to re-create the Github post-receive for a private server?

I'm using the excellent Sprint.ly to manage my project. I'm using git for source control and Sprint.ly has an excellent integration with github by taking its post-receive message and scanning for changes (see their documentation).

I'm not using github to host this repo, instead I'm using my own private server. How can I recreate the github post-receive message and post it to sprint.ly? I'm not very good at writing scripts like this so any help would be greatly appreciated.

like image 294
Steve Workman Avatar asked Apr 24 '26 01:04

Steve Workman


1 Answers

See the following repository: https://github.com/mbmccormick/gitosis-webhook

I was able to integrate with sprint.ly using this post-receive script, modifying the URL variable appropriately.

Hope this helps, Aaron

like image 51
acampos Avatar answered Apr 26 '26 08:04

acampos