phallstrom / slackistrano

Slack integration for Capistrano deployments.
MIT License
373 stars 74 forks source link

support new slack 'blocks'? #96

Open jrochkind opened 5 years ago

jrochkind commented 5 years ago

https://api.slack.com/messaging/attachments-to-blocks

I've been experimenting with this a bit, it looks like it's hard to mix and match with the existing stuff -- I can add stuff to payload[:blocks] in a custom payload_for block, but if I do it entirely replaces the default message. When you add "blocks", it doesn't use... whatever you are using for the ordinary text message.

So it might be kind of a refactor of some things. But you could have much prettier messages!