lib/vidar/slack_notification.rb in vidar-1.13.1 vs lib/vidar/slack_notification.rb in vidar-1.13.2
- old
+ new
@@ -28,20 +28,19 @@
!webhook_url.to_s.empty?
end
def failure
message = [
- "Failed deploy of #{github_link} to #{deploy_link}.",
- ":fire: <!channel>",
- build_link
+ "<!channel> Failed deploy of #{github_link} to #{deploy_link}.",
+ build_link,
]
perform_with data(message:, color: failure_color)
end
def success
message = [
"Successful deploy of #{github_link} to #{deploy_link}.",
- build_link
+ build_link,
]
perform_with data(message:, color: success_color)
end
def deliver(message:, color: default_color)