GitHub Deployments API

The GitHub Deployments API lets you create and manage deployments and deployment statuses for repositories. Deployments are requests to deploy a specific ref (branch, SHA, tag) to an environment, and deployment statuses track the progress of that deployment. The API also supports managing deployment environments, environment protection rules, and deployment branch policies.

Documentation