Skip to content

Commit b73b251

Browse files
committed
Merge pull request github#157 from github/commit-status-examples
Add parameter JSON example
2 parents 65fe87d + c70ee16 commit b73b251

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/v3/repos/statuses.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ this specific sha - `http://ci.example.com/johndoe/my-repo/builds/sha`.
6161
description
6262
: _Optional_ **string** Short description of the status
6363

64+
<%= json \
65+
:state => "success",
66+
:description => "The build succeeded!",
67+
:homepage => "https://example.com/build/status"
68+
%>
69+
6470
### Response
6571

6672
<%= headers 201,

0 commit comments

Comments
 (0)