You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if there's a way to make Mailer use different templates on success and failure. One possible way I see (though I didn't try it) to do this is:
create separate hooks for after:deploy and after:rollback
make them call notification_email with a config instance specifying the appropriate :template_path for each event
Even if this works, I think it's a bit cumbersome for such a routine case. Any chance to have failure notifications integrated into the gem?
The text was updated successfully, but these errors were encountered:
Excellent question. I haven't had a chance to do any work on Capistrano Mailer for a while. I hope to soon, but will certainly be grateful for patches/pull requests if anyone else has time to look into it.
I'm wondering if there's a way to make Mailer use different templates on success and failure. One possible way I see (though I didn't try it) to do this is:
Even if this works, I think it's a bit cumbersome for such a routine case. Any chance to have failure notifications integrated into the gem?
The text was updated successfully, but these errors were encountered: