{"action":"created","issue":{"url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/issues/196","labels_url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/issues/196/comments","events_url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/issues/196/events","html_url":"https://github.com/bugsnag/bugsnag-ruby/issues/196","id":54053067,"number":196,"title":"heroku:add_deploy_hook task doesn't handle multiple Heroku apps","user":{"login":"Dorian","id":129149,"avatar_url":"https://avatars.githubusercontent.com/u/129149?v=3","gravatar_id":"","url":"https://api.github.com/users/Dorian","html_url":"https://github.com/Dorian","followers_url":"https://api.github.com/users/Dorian/followers","following_url":"https://api.github.com/users/Dorian/following{/other_user}","gists_url":"https://api.github.com/users/Dorian/gists{/gist_id}","starred_url":"https://api.github.com/users/Dorian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dorian/subscriptions","organizations_url":"https://api.github.com/users/Dorian/orgs","repos_url":"https://api.github.com/users/Dorian/repos","events_url":"https://api.github.com/users/Dorian/events{/privacy}","received_events_url":"https://api.github.com/users/Dorian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-12T13:26:33Z","updated_at":"2015-01-12T13:29:35Z","closed_at":null,"body":"eg, I have four apps and I get:\r\n\r\n```\r\n> bin/rake bugsnag:heroku:add_deploy_hook\r\n !    Multiple apps in folder and no app specified.\r\n !    Specify app with --app APP.\r\n$ heroku addons:add deployhooks:http --url=\"https://notify.bugsnag.com/deploy?apiKey=SECRET_STUFF&branch=master&revision={{head_long}}&releaseStage=development&repository=https://github.com/SOMETHING\"\r\n !    Multiple apps in folder and no app specified.\r\n !    Specify app with --app APP.\r\n```"},"comment":{"url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/issues/comments/69569347","html_url":"https://github.com/bugsnag/bugsnag-ruby/issues/196#issuecomment-69569347","issue_url":"https://api.github.com/repos/bugsnag/bugsnag-ruby/issues/196","id":69569347,"user":{"login":"Dorian","id":129149,"avatar_url":"https://avatars.githubusercontent.com/u/129149?v=3","gravatar_id":"","url":"https://api.github.com/users/Dorian","html_url":"https://github.com/Dorian","followers_url":"https://api.github.com/users/Dorian/followers","following_url":"https://api.github.com/users/Dorian/following{/other_user}","gists_url":"https://api.github.com/users/Dorian/gists{/gist_id}","starred_url":"https://api.github.com/users/Dorian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dorian/subscriptions","organizations_url":"https://api.github.com/users/Dorian/orgs","repos_url":"https://api.github.com/users/Dorian/repos","events_url":"https://api.github.com/users/Dorian/events{/privacy}","received_events_url":"https://api.github.com/users/Dorian/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T13:29:35Z","updated_at":"2015-01-12T13:29:35Z","body":"Maybe it's supposed to be run as `heroku run bin/rake bugsnag:heroku:add_deploy_hook -a MYAPP`?"}}