Auto deploy

This pull request has the precursors of the auto deploy setup for a repo. This can be merged with master and tested on staging before being pulled into production.