Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: GitHub push to master = zip up repo, upload to S3
1 point by _gd3l on Feb 7, 2012 | hide | past | favorite | 1 comment
I'm looking to do pretty much what the title says.

I'm using a PHP auto-updater for a WordPress plugin, and what I can do is simply update a JSON file remotely and everyone with the plugin will get an update to install the new upgrade. Pretty sweet.

To streamline things, though, I'd like to be able to simply have the JSON file be update automatically; this means that every time there's a new push to master on GitHub, that code will be zipped and uploaded to S3; then that S3 link will be updated in the JSON file.



I think git hooks are the way to go here.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: