README.md in capistrano-notifier-0.3.0 vs README.md in capistrano-notifier-0.4.0
- old
+ new
@@ -21,13 +21,14 @@
```rb
require 'capistrano/notifier/mail'
set :notifier_mail_options, {
- :method => :test, # :smtp, :sendmail, or any other valid ActionMailer delivery method
- :from => 'capistrano@domain.com',
- :to => ['john@doe.com', 'jane@doe.com'],
- :github => 'MyCompany/project-name'
+ :method => :test, # :smtp, :sendmail, or any other valid ActionMailer delivery method
+ :from => 'capistrano@domain.com',
+ :to => ['john@doe.com', 'jane@doe.com'],
+ :subject => "Successfully deployed #{application.titleize} to #{stage}", # OPTIONAL
+ :github => 'MyCompany/project-name'
}
```
If you specified `:method => :test`, you can see the email that would be
generated in your console with `cap deploy:notify:mail`.