{"action":"created","issue":{"url":"https://api.github.com/repos/18F/myusa/issues/143","labels_url":"https://api.github.com/repos/18F/myusa/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/18F/myusa/issues/143/comments","events_url":"https://api.github.com/repos/18F/myusa/issues/143/events","html_url":"https://github.com/18F/myusa/issues/143","id":40092179,"number":143,"title":"Post to Slack every time there's a deploy","user":{"login":"polastre","id":2539570,"avatar_url":"https://avatars.githubusercontent.com/u/2539570?v=3","gravatar_id":"","url":"https://api.github.com/users/polastre","html_url":"https://github.com/polastre","followers_url":"https://api.github.com/users/polastre/followers","following_url":"https://api.github.com/users/polastre/following{/other_user}","gists_url":"https://api.github.com/users/polastre/gists{/gist_id}","starred_url":"https://api.github.com/users/polastre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polastre/subscriptions","organizations_url":"https://api.github.com/users/polastre/orgs","repos_url":"https://api.github.com/users/polastre/repos","events_url":"https://api.github.com/users/polastre/events{/privacy}","received_events_url":"https://api.github.com/users/polastre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/18F/myusa/labels/6-develop","name":"6-develop","color":"ED8514"},{"url":"https://api.github.com/repos/18F/myusa/labels/devops","name":"devops","color":"f5bf2c"},{"url":"https://api.github.com/repos/18F/myusa/labels/p2","name":"p2","color":"70B8FF"},{"url":"https://api.github.com/repos/18F/myusa/labels/task","name":"task","color":"78C14B"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-08-12T19:51:27Z","updated_at":"2015-03-26T00:13:49Z","closed_at":null,"body":"In the old `mygov-account`, Capistrano would post a message to Slack saying the branch and the server in use.  It would actually post two messages -- the first that the deployment is starting and the second when it successfully completes.\r\n\r\nSet up Capistrano to do this again."},"comment":{"url":"https://api.github.com/repos/18F/myusa/issues/comments/86260083","html_url":"https://github.com/18F/myusa/issues/143#issuecomment-86260083","issue_url":"https://api.github.com/repos/18F/myusa/issues/143","id":86260083,"user":{"login":"yozlet","id":173848,"avatar_url":"https://avatars.githubusercontent.com/u/173848?v=3","gravatar_id":"","url":"https://api.github.com/users/yozlet","html_url":"https://github.com/yozlet","followers_url":"https://api.github.com/users/yozlet/followers","following_url":"https://api.github.com/users/yozlet/following{/other_user}","gists_url":"https://api.github.com/users/yozlet/gists{/gist_id}","starred_url":"https://api.github.com/users/yozlet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yozlet/subscriptions","organizations_url":"https://api.github.com/users/yozlet/orgs","repos_url":"https://api.github.com/users/yozlet/repos","events_url":"https://api.github.com/users/yozlet/events{/privacy}","received_events_url":"https://api.github.com/users/yozlet/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T00:13:49Z","updated_at":"2015-03-26T00:13:49Z","body":"This is definitely doable with SnapCI - just need to\r\n* add a command to the Deploy pipeline that uses `other/slack/slack_notifier.py` (which is still in the repo after a previous attempt to do this)\r\n* store the Slack API key in an env variable\r\n"}}