Enterprise aware auto-deployment

Allow for customizing the GitHub API url for auto-deployments on enterprise installations.