{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/scala-exercises/exercises-cats/pulls/17","id":74226761,"html_url":"https://github.com/scala-exercises/exercises-cats/pull/17","diff_url":"https://github.com/scala-exercises/exercises-cats/pull/17.diff","patch_url":"https://github.com/scala-exercises/exercises-cats/pull/17.patch","issue_url":"https://api.github.com/repos/scala-exercises/exercises-cats/issues/17","number":17,"state":"closed","locked":false,"title":"Deploy after successful builds in master","user":{"login":"dialelo","id":409039,"avatar_url":"https://avatars.githubusercontent.com/u/409039?v=3","gravatar_id":"","url":"https://api.github.com/users/dialelo","html_url":"https://github.com/dialelo","followers_url":"https://api.github.com/users/dialelo/followers","following_url":"https://api.github.com/users/dialelo/following{/other_user}","gists_url":"https://api.github.com/users/dialelo/gists{/gist_id}","starred_url":"https://api.github.com/users/dialelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dialelo/subscriptions","organizations_url":"https://api.github.com/users/dialelo/orgs","repos_url":"https://api.github.com/users/dialelo/repos","events_url":"https://api.github.com/users/dialelo/events{/privacy}","received_events_url":"https://api.github.com/users/dialelo/received_events","type":"User","site_admin":false},"body":"The approach using Travis' `deploy` with a custom script is experimental, the output from the script isn't shown and made it difficult to see what was going on. I've used `after_success` and a custom script that checks whether the build is for the master branch.\r\n\r\n@raulraja please take a look, [i tried publishing non-master in my tests](https://travis-ci.org/scala-exercises/exercises-cats/builds/138319161) and worked perfectly. If we are happy with this setup i'll open PRs for the other two content repos.","created_at":"2016-06-17T11:17:18Z","updated_at":"2016-06-17T13:07:35Z","closed_at":"2016-06-17T13:07:35Z","merged_at":"2016-06-17T13:07:35Z","merge_commit_sha":"5bb9e5996da236f41cd8eb2959f67cffee3b0dda","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scala-exercises/exercises-cats/pulls/17/commits","review_comments_url":"https://api.github.com/repos/scala-exercises/exercises-cats/pulls/17/comments","review_comment_url":"https://api.github.com/repos/scala-exercises/exercises-cats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scala-exercises/exercises-cats/issues/17/comments","statuses_url":"https://api.github.com/repos/scala-exercises/exercises-cats/statuses/c431adf5aad4c976c5bb7fae3c6d47a0c58149cb","head":{"label":"scala-exercises:al-after-success-deploy","ref":"al-after-success-deploy","sha":"c431adf5aad4c976c5bb7fae3c6d47a0c58149cb","user":{"login":"scala-exercises","id":17570897,"avatar_url":"https://avatars.githubusercontent.com/u/17570897?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-exercises","html_url":"https://github.com/scala-exercises","followers_url":"https://api.github.com/users/scala-exercises/followers","following_url":"https://api.github.com/users/scala-exercises/following{/other_user}","gists_url":"https://api.github.com/users/scala-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-exercises/subscriptions","organizations_url":"https://api.github.com/users/scala-exercises/orgs","repos_url":"https://api.github.com/users/scala-exercises/repos","events_url":"https://api.github.com/users/scala-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/scala-exercises/received_events","type":"Organization","site_admin":false},"repo":{"id":60521124,"name":"exercises-cats","full_name":"scala-exercises/exercises-cats","owner":{"login":"scala-exercises","id":17570897,"avatar_url":"https://avatars.githubusercontent.com/u/17570897?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-exercises","html_url":"https://github.com/scala-exercises","followers_url":"https://api.github.com/users/scala-exercises/followers","following_url":"https://api.github.com/users/scala-exercises/following{/other_user}","gists_url":"https://api.github.com/users/scala-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-exercises/subscriptions","organizations_url":"https://api.github.com/users/scala-exercises/orgs","repos_url":"https://api.github.com/users/scala-exercises/repos","events_url":"https://api.github.com/users/scala-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/scala-exercises/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scala-exercises/exercises-cats","description":"Scala Exercises' lessons for the Cats library","fork":false,"url":"https://api.github.com/repos/scala-exercises/exercises-cats","forks_url":"https://api.github.com/repos/scala-exercises/exercises-cats/forks","keys_url":"https://api.github.com/repos/scala-exercises/exercises-cats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scala-exercises/exercises-cats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scala-exercises/exercises-cats/teams","hooks_url":"https://api.github.com/repos/scala-exercises/exercises-cats/hooks","issue_events_url":"https://api.github.com/repos/scala-exercises/exercises-cats/issues/events{/number}","events_url":"https://api.github.com/repos/scala-exercises/exercises-cats/events","assignees_url":"https://api.github.com/repos/scala-exercises/exercises-cats/assignees{/user}","branches_url":"https://api.github.com/repos/scala-exercises/exercises-cats/branches{/branch}","tags_url":"https://api.github.com/repos/scala-exercises/exercises-cats/tags","blobs_url":"https://api.github.com/repos/scala-exercises/exercises-cats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scala-exercises/exercises-cats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scala-exercises/exercises-cats/git/refs{/sha}","trees_url":"https://api.github.com/repos/scala-exercises/exercises-cats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scala-exercises/exercises-cats/statuses/{sha}","languages_url":"https://api.github.com/repos/scala-exercises/exercises-cats/languages","stargazers_url":"https://api.github.com/repos/scala-exercises/exercises-cats/stargazers","contributors_url":"https://api.github.com/repos/scala-exercises/exercises-cats/contributors","subscribers_url":"https://api.github.com/repos/scala-exercises/exercises-cats/subscribers","subscription_url":"https://api.github.com/repos/scala-exercises/exercises-cats/subscription","commits_url":"https://api.github.com/repos/scala-exercises/exercises-cats/commits{/sha}","git_commits_url":"https://api.github.com/repos/scala-exercises/exercises-cats/git/commits{/sha}","comments_url":"https://api.github.com/repos/scala-exercises/exercises-cats/comments{/number}","issue_comment_url":"https://api.github.com/repos/scala-exercises/exercises-cats/issues/comments{/number}","contents_url":"https://api.github.com/repos/scala-exercises/exercises-cats/contents/{+path}","compare_url":"https://api.github.com/repos/scala-exercises/exercises-cats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scala-exercises/exercises-cats/merges","archive_url":"https://api.github.com/repos/scala-exercises/exercises-cats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scala-exercises/exercises-cats/downloads","issues_url":"https://api.github.com/repos/scala-exercises/exercises-cats/issues{/number}","pulls_url":"https://api.github.com/repos/scala-exercises/exercises-cats/pulls{/number}","milestones_url":"https://api.github.com/repos/scala-exercises/exercises-cats/milestones{/number}","notifications_url":"https://api.github.com/repos/scala-exercises/exercises-cats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scala-exercises/exercises-cats/labels{/name}","releases_url":"https://api.github.com/repos/scala-exercises/exercises-cats/releases{/id}","deployments_url":"https://api.github.com/repos/scala-exercises/exercises-cats/deployments","created_at":"2016-06-06T10:57:35Z","updated_at":"2016-06-17T10:46:44Z","pushed_at":"2016-06-17T13:07:35Z","git_url":"git://github.com/scala-exercises/exercises-cats.git","ssh_url":"git@github.com:scala-exercises/exercises-cats.git","clone_url":"https://github.com/scala-exercises/exercises-cats.git","svn_url":"https://github.com/scala-exercises/exercises-cats","homepage":null,"size":57,"stargazers_count":4,"watchers_count":4,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":4,"default_branch":"master"}},"base":{"label":"scala-exercises:master","ref":"master","sha":"3f57a861d4d31d632953e5f25d70b1d2dd8ad2bf","user":{"login":"scala-exercises","id":17570897,"avatar_url":"https://avatars.githubusercontent.com/u/17570897?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-exercises","html_url":"https://github.com/scala-exercises","followers_url":"https://api.github.com/users/scala-exercises/followers","following_url":"https://api.github.com/users/scala-exercises/following{/other_user}","gists_url":"https://api.github.com/users/scala-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-exercises/subscriptions","organizations_url":"https://api.github.com/users/scala-exercises/orgs","repos_url":"https://api.github.com/users/scala-exercises/repos","events_url":"https://api.github.com/users/scala-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/scala-exercises/received_events","type":"Organization","site_admin":false},"repo":{"id":60521124,"name":"exercises-cats","full_name":"scala-exercises/exercises-cats","owner":{"login":"scala-exercises","id":17570897,"avatar_url":"https://avatars.githubusercontent.com/u/17570897?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-exercises","html_url":"https://github.com/scala-exercises","followers_url":"https://api.github.com/users/scala-exercises/followers","following_url":"https://api.github.com/users/scala-exercises/following{/other_user}","gists_url":"https://api.github.com/users/scala-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-exercises/subscriptions","organizations_url":"https://api.github.com/users/scala-exercises/orgs","repos_url":"https://api.github.com/users/scala-exercises/repos","events_url":"https://api.github.com/users/scala-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/scala-exercises/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scala-exercises/exercises-cats","description":"Scala Exercises' lessons for the Cats library","fork":false,"url":"https://api.github.com/repos/scala-exercises/exercises-cats","forks_url":"https://api.github.com/repos/scala-exercises/exercises-cats/forks","keys_url":"https://api.github.com/repos/scala-exercises/exercises-cats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scala-exercises/exercises-cats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scala-exercises/exercises-cats/teams","hooks_url":"https://api.github.com/repos/scala-exercises/exercises-cats/hooks","issue_events_url":"https://api.github.com/repos/scala-exercises/exercises-cats/issues/events{/number}","events_url":"https://api.github.com/repos/scala-exercises/exercises-cats/events","assignees_url":"https://api.github.com/repos/scala-exercises/exercises-cats/assignees{/user}","branches_url":"https://api.github.com/repos/scala-exercises/exercises-cats/branches{/branch}","tags_url":"https://api.github.com/repos/scala-exercises/exercises-cats/tags","blobs_url":"https://api.github.com/repos/scala-exercises/exercises-cats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scala-exercises/exercises-cats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scala-exercises/exercises-cats/git/refs{/sha}","trees_url":"https://api.github.com/repos/scala-exercises/exercises-cats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scala-exercises/exercises-cats/statuses/{sha}","languages_url":"https://api.github.com/repos/scala-exercises/exercises-cats/languages","stargazers_url":"https://api.github.com/repos/scala-exercises/exercises-cats/stargazers","contributors_url":"https://api.github.com/repos/scala-exercises/exercises-cats/contributors","subscribers_url":"https://api.github.com/repos/scala-exercises/exercises-cats/subscribers","subscription_url":"https://api.github.com/repos/scala-exercises/exercises-cats/subscription","commits_url":"https://api.github.com/repos/scala-exercises/exercises-cats/commits{/sha}","git_commits_url":"https://api.github.com/repos/scala-exercises/exercises-cats/git/commits{/sha}","comments_url":"https://api.github.com/repos/scala-exercises/exercises-cats/comments{/number}","issue_comment_url":"https://api.github.com/repos/scala-exercises/exercises-cats/issues/comments{/number}","contents_url":"https://api.github.com/repos/scala-exercises/exercises-cats/contents/{+path}","compare_url":"https://api.github.com/repos/scala-exercises/exercises-cats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scala-exercises/exercises-cats/merges","archive_url":"https://api.github.com/repos/scala-exercises/exercises-cats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scala-exercises/exercises-cats/downloads","issues_url":"https://api.github.com/repos/scala-exercises/exercises-cats/issues{/number}","pulls_url":"https://api.github.com/repos/scala-exercises/exercises-cats/pulls{/number}","milestones_url":"https://api.github.com/repos/scala-exercises/exercises-cats/milestones{/number}","notifications_url":"https://api.github.com/repos/scala-exercises/exercises-cats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scala-exercises/exercises-cats/labels{/name}","releases_url":"https://api.github.com/repos/scala-exercises/exercises-cats/releases{/id}","deployments_url":"https://api.github.com/repos/scala-exercises/exercises-cats/deployments","created_at":"2016-06-06T10:57:35Z","updated_at":"2016-06-17T10:46:44Z","pushed_at":"2016-06-17T13:07:35Z","git_url":"git://github.com/scala-exercises/exercises-cats.git","ssh_url":"git@github.com:scala-exercises/exercises-cats.git","clone_url":"https://github.com/scala-exercises/exercises-cats.git","svn_url":"https://github.com/scala-exercises/exercises-cats","homepage":null,"size":57,"stargazers_count":4,"watchers_count":4,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scala-exercises/exercises-cats/pulls/17"},"html":{"href":"https://github.com/scala-exercises/exercises-cats/pull/17"},"issue":{"href":"https://api.github.com/repos/scala-exercises/exercises-cats/issues/17"},"comments":{"href":"https://api.github.com/repos/scala-exercises/exercises-cats/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/scala-exercises/exercises-cats/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/scala-exercises/exercises-cats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scala-exercises/exercises-cats/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/scala-exercises/exercises-cats/statuses/c431adf5aad4c976c5bb7fae3c6d47a0c58149cb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"raulraja","id":456796,"avatar_url":"https://avatars.githubusercontent.com/u/456796?v=3","gravatar_id":"","url":"https://api.github.com/users/raulraja","html_url":"https://github.com/raulraja","followers_url":"https://api.github.com/users/raulraja/followers","following_url":"https://api.github.com/users/raulraja/following{/other_user}","gists_url":"https://api.github.com/users/raulraja/gists{/gist_id}","starred_url":"https://api.github.com/users/raulraja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulraja/subscriptions","organizations_url":"https://api.github.com/users/raulraja/orgs","repos_url":"https://api.github.com/users/raulraja/repos","events_url":"https://api.github.com/users/raulraja/events{/privacy}","received_events_url":"https://api.github.com/users/raulraja/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":4,"additions":23,"deletions":9,"changed_files":2}}
{"actor":{"display_login":"raulraja"}}