Skip to content

Commit 4aca7e8

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent 9d95249 commit 4aca7e8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/v3/repos/deployments.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Deployments
66

77
{:toc}
88

9-
Deployments are a request for a specific ref(branch,sha,tag) to be deployed.
9+
Deployments are a request for a specific ref(branch,SHA,tag) to be deployed.
1010
GitHub then dispatches deployment events that external services can listen for
1111
and act on. This enables developers and organizations to build loosely-coupled
1212
tooling around deployments, without having to worry about implementation
@@ -78,8 +78,8 @@ Simple filtering of deployments is available via query parameters:
7878

7979
Name | Type | Description
8080
-----|------|--------------
81-
`sha`|`string` | The short or long sha that was recorded at creation time. Default: `none`
82-
`ref`|`string` | The name of the ref. This can be a branch, tag, or sha. Default: `none`
81+
`sha`|`string` | The SHA that was recorded at creation time. Default: `none`
82+
`ref`|`string` | The name of the ref. This can be a branch, tag, or SHA. Default: `none`
8383
`task`|`string` | The name of the task for the deployment. e.g. `deploy` or `deploy:migrations`. Default: `none`
8484
`environment`|`string` | The name of the environment that was deployed to. e.g. `staging` or `production`. Default: `none`
8585

@@ -92,7 +92,7 @@ Name | Type | Description
9292

9393
Deployments offer a few configurable parameters with sane defaults.
9494

95-
The `ref` parameter can be any named branch, tag, or sha. At GitHub we often
95+
The `ref` parameter can be any named branch, tag, or SHA. At GitHub we often
9696
deploy branches and verify them before we merge a pull request.
9797

9898
The `environment` parameter allows deployments to be issued to different
@@ -131,7 +131,7 @@ Users with `repo` or `repo_deployment` scopes can create a deployment for a give
131131

132132
Name | Type | Description
133133
-----|------|--------------
134-
`ref`|`string`| **Required**. The ref to deploy. This can be a branch, tag, or sha.
134+
`ref`|`string`| **Required**. The ref to deploy. This can be a branch, tag, or SHA.
135135
`task`|`string`| Optional parameter to specify a task to execute, e.g. `deploy` or `deploy:migrations`. Default: `deploy`
136136
`auto_merge`|`boolean`| Optional parameter to merge the default branch into the requested ref if it is behind the default branch. Default: `true`
137137
`required_contexts`|`Array`| Optional array of status contexts verified against commit status checks. If this parameter is omitted from the parameters then all unique contexts will be verified before a deployment is created. To bypass checking entirely pass an empty array. Defaults to all unique contexts.

0 commit comments

Comments
 (0)