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