Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit8e2d012

Browse files
committed
fixup payload formats to reflect reality
1 parentb9c6043 commit8e2d012

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎lib/resources.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1516,13 +1516,14 @@ def text_html(response, status, head = {})
15161516

15171517
DEPLOYMENT={
15181518
"id"=>1,
1519-
"ref"=>"topic-branch",
1519+
"sha"=>"topic-branch",
15201520
"url"=>"https://api.github.com/repos/octocat/example/deployments/1",
15211521
"creator"=>USER,
15221522
"payload"=>JSON.dump({:environment=>'production'}),
15231523
"created_at"=>"2012-07-20T01:19:13Z",
15241524
"updated_at"=>"2012-07-20T01:19:13Z",
15251525
"description"=>"Deploy request from hubot",
1526+
"statuses_url"=>"https://api.github.com/repos/octocat/example/deployments/1/statuses"
15261527
}
15271528

15281529
DEPLOYMENT_STATUS={

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp