Skip to content
Browse files

Attach notification events to deploy:restart

  • Loading branch information...
1 parent 93b0f2d commit 4553a657acdf23a9384961bc0bd358e1d5a714bc @jrust jrust committed May 3, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/capistrano/notifier/mail.rb
  2. +1 −1 lib/capistrano/notifier/statsd.rb
View
2 lib/capistrano/notifier/mail.rb
@@ -13,7 +13,7 @@ def self.load_into(configuration)
end
end
- after 'deploy', 'deploy:notify:mail'
+ after 'deploy:restart', 'deploy:notify:mail'
end
end
View
2 lib/capistrano/notifier/statsd.rb
@@ -15,7 +15,7 @@ def self.load_into(configuration)
end
end
- after 'deploy', 'deploy:notify:statsd'
+ after 'deploy:restart', 'deploy:notify:statsd'
end
end

0 comments on commit 4553a65

Please sign in to comment.
Something went wrong with that request. Please try again.