-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enrich style of deploy finish/fail message #18
Enrich style of deploy finish/fail message #18
Conversation
Sometimes I want to build more complex structure of payload. For example a payload containing attachments. In some case, I want embed text inside of an attachment, but in other case not. Passing text as a special parameter separated from the other parameters doesn't allow me such a complexed payload composition. So I pass block which compose payload.
- colorize the attachment with danger color. - separate status, stage, branch and revision into fields.
- colorize the attachment with sky blue color. - separate status, stage, branch and revision into fields.
Why blue for success!? |
@Mekajiki this is a great idea, thanks! I think it would be worth making some of the options (such as colour) configurable, but I'm happy to do that post-merge. |
@foulkesjohn @seenmyfate |
Great, |
Awesome, thanks - I'll get a new release put together shortly |
Enrich style of deploy finish/fail message
This is now available via Rubygems as Version 2.3.0 |
First of all I appreciate your useful gem, it's very useful and helps my daily work.
Sometimes it take a few seconds to recognize if a deployment failed or succeeded at a glance.
So I made some change to make them more recognizizable by
using the attachment feature of slack.
As a result the messages look like as bellow: