Github API - Test Config

mutation createDeployment

Creates a new deployment event.

Arguments
input CreateDeploymentInput

CreateDeploymentInput [input]

Autogenerated input type of CreateDeployment

Attributes
autoMerge Boolean

Attempt to automatically merge the default branch into the requested ref, defaults to true.

clientMutationId String

A unique identifier for the client performing the mutation.

description String

Short description of the deployment.

environment String

Name for the target deployment environment.

payload String

JSON payload with extra information about the deployment.

refId ID

The node ID of the ref to be deployed.

repositoryId ID

The node ID of the repository.

requiredContexts String []

The status contexts to verify against commit status checks. To bypass required
contexts, pass an empty array. Defaults to all unique contexts.

task String

Specifies a task to execute.

API:
Github GraphQL API

Parameters for CreateDeployment

Returns
CreateDeploymentPayload

CreateDeploymentPayload [object]

Autogenerated return type of CreateDeployment

Attributes
autoMerged Boolean

True if the default branch has been auto-merged into the deployment ref.

clientMutationId String

A unique identifier for the client performing the mutation.

deployment Deployment

The new deployment.

API:
Github GraphQL API
API:
Github GraphQL API