Skip to main content
Schema1.1.4object

deployment

A request for a specific ref(branch,sha,tag) to be deployed

Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Deployment

object

A request for a specific ref(branch,sha,tag) to be deployed

created_at string (date-time)
required
description string
requirednullable
environment string
required

Name for the target deployment environment.

id integer
required

Unique identifier of the deployment

node_id string
required
original_environment string
optional
payload
required
performed_via_github_app GitHub app object
optionalnullable

GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.

production_environment boolean
optional

Specifies if the given environment is one that end-users directly interact with. Default: false.

ref string
required

The ref to deploy. This can be a branch, tag, or sha.

repository_url string (uri)
required
sha string
required
statuses_url string (uri)
required
task string
required

Parameter to specify a task to execute

transient_environment boolean
optional

Specifies if the given environment is will no longer exist at some point in the future. Default: false.

updated_at string (date-time)
required
url string (uri)
required