Create deploy.php

Taken from: https://gist.github.com/oodavid/1809044