Custom Deployment: Fix broken urls pointing to localhost:4000

http://about.travis-ci.org/docs/user/deployment/custom/