Deploying Private Repos Automatically with Github

By: Jonathan Stark

I posted recently about how I used Github webhooks to set up automated deployment scripts for the Entertainment Weekly and TechCrunch responsive redesign projects. In that article, I pointed out that there are “some tricky bits” to deal with if the repo is private on Github.

A couple people have contacted me to ask for help with the tricky bits (security related stuff). As I tried to type up my response to them, I realized that it’s really freaking hard to describe how to deal with the security stuff.


I present to you here an alternate approach that attempts to strike a reasonable balance between simplicity, convenience, and security. It does require that you use the command line, but I try to keep the steps to an absolute minimum.

Original post:

This post: