Revert shifted Deployments API endpoint usage
Fixes https://github.com/actions/deploy-pages/issues/137
Update the deployment API endpoints used by the api-client module