{"action":"created","issue":{"url":"https://api.github.com/repos/phallstrom/slackistrano/issues/27","repository_url":"https://api.github.com/repos/phallstrom/slackistrano","labels_url":"https://api.github.com/repos/phallstrom/slackistrano/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/phallstrom/slackistrano/issues/27/comments","events_url":"https://api.github.com/repos/phallstrom/slackistrano/issues/27/events","html_url":"https://github.com/phallstrom/slackistrano/issues/27","id":106868085,"number":27,"title":"Consider some formatting by default","user":{"login":"bradgreens","id":284366,"avatar_url":"https://avatars.githubusercontent.com/u/284366?v=3","gravatar_id":"","url":"https://api.github.com/users/bradgreens","html_url":"https://github.com/bradgreens","followers_url":"https://api.github.com/users/bradgreens/followers","following_url":"https://api.github.com/users/bradgreens/following{/other_user}","gists_url":"https://api.github.com/users/bradgreens/gists{/gist_id}","starred_url":"https://api.github.com/users/bradgreens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradgreens/subscriptions","organizations_url":"https://api.github.com/users/bradgreens/orgs","repos_url":"https://api.github.com/users/bradgreens/repos","events_url":"https://api.github.com/users/bradgreens/events{/privacy}","received_events_url":"https://api.github.com/users/bradgreens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phallstrom/slackistrano/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"phallstrom","id":16705,"avatar_url":"https://avatars.githubusercontent.com/u/16705?v=3","gravatar_id":"","url":"https://api.github.com/users/phallstrom","html_url":"https://github.com/phallstrom","followers_url":"https://api.github.com/users/phallstrom/followers","following_url":"https://api.github.com/users/phallstrom/following{/other_user}","gists_url":"https://api.github.com/users/phallstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/phallstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phallstrom/subscriptions","organizations_url":"https://api.github.com/users/phallstrom/orgs","repos_url":"https://api.github.com/users/phallstrom/repos","events_url":"https://api.github.com/users/phallstrom/events{/privacy}","received_events_url":"https://api.github.com/users/phallstrom/received_events","type":"User","site_admin":false},"assignees":[{"login":"phallstrom","id":16705,"avatar_url":"https://avatars.githubusercontent.com/u/16705?v=3","gravatar_id":"","url":"https://api.github.com/users/phallstrom","html_url":"https://github.com/phallstrom","followers_url":"https://api.github.com/users/phallstrom/followers","following_url":"https://api.github.com/users/phallstrom/following{/other_user}","gists_url":"https://api.github.com/users/phallstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/phallstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phallstrom/subscriptions","organizations_url":"https://api.github.com/users/phallstrom/orgs","repos_url":"https://api.github.com/users/phallstrom/repos","events_url":"https://api.github.com/users/phallstrom/events{/privacy}","received_events_url":"https://api.github.com/users/phallstrom/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2015-09-16T21:30:10Z","updated_at":"2016-07-19T06:25:26Z","closed_at":"2016-07-19T06:16:29Z","body":"The strings slackistrano currently sends to slack are *cough* kinda boring. Here's how our config looks:\r\n\r\n```\r\n# In our app it seems we needed to coerce this line. \r\nset :rails_env, fetch(:stage)\r\n\r\nset :slack_webhook, YAML.load_file('./config/slackistrano.yml')[\"web_hook_url\"]\r\n\r\nemoji = :rails_env == 'production' ? ':ship:' : ':fireworks:'\r\nset :slack_icon_emoji, emoji\r\n\r\nset :slack_msg_starting, \"*#{fetch :slack_deploy_user}* has started deploying branch `#{fetch :branch}` of `#{fetch :application}` to `#{fetch :rails_env, 'production'}`\"\r\nset :slack_msg_finished, \"*#{fetch :slack_deploy_user}* has finished deploying branch `#{fetch :branch}` of `#{fetch :application}` to `#{fetch :rails_env, 'production'}`\"\r\nset :slack_msg_failed,   \"*#{fetch :slack_deploy_user}* failed to deploy branch `#{fetch :branch}` of `#{fetch :application}` to `#{fetch :rails_env, 'production'}`\"\r\n```\r\n\r\nEmojis aside, it creates a nice output for the user, branch, repo, and environment. \r\n\r\n<img width=\"665\" alt=\"screen shot 2015-09-16 at 2 28 52 pm\" src=\"https://cloud.githubusercontent.com/assets/284366/9919063/69200b08-5c7f-11e5-963f-655c0f1044f0.png\">\r\n\r\nNot a real issue but thought I'd share :cocktail: "},"comment":{"url":"https://api.github.com/repos/phallstrom/slackistrano/issues/comments/233542958","html_url":"https://github.com/phallstrom/slackistrano/issues/27#issuecomment-233542958","issue_url":"https://api.github.com/repos/phallstrom/slackistrano/issues/27","id":233542958,"user":{"login":"phallstrom","id":16705,"avatar_url":"https://avatars.githubusercontent.com/u/16705?v=3","gravatar_id":"","url":"https://api.github.com/users/phallstrom","html_url":"https://github.com/phallstrom","followers_url":"https://api.github.com/users/phallstrom/followers","following_url":"https://api.github.com/users/phallstrom/following{/other_user}","gists_url":"https://api.github.com/users/phallstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/phallstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phallstrom/subscriptions","organizations_url":"https://api.github.com/users/phallstrom/orgs","repos_url":"https://api.github.com/users/phallstrom/repos","events_url":"https://api.github.com/users/phallstrom/events{/privacy}","received_events_url":"https://api.github.com/users/phallstrom/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T06:25:26Z","updated_at":"2016-07-19T06:25:26Z","body":"If you're able, try using the `overhaul` branch without making any other changes and run `cap production slack:deploy:test` (or any other environment really) to see if your messaging continues to come through okay.\r\n\r\nAnd or any other feedback you might have on that branch is appreciated."}}
{"actor":{"display_login":"phallstrom"}}