add cap task for updating newrelic on deployments
This commit is contained in:
3
Capfile
3
Capfile
@@ -9,6 +9,9 @@ require 'capistrano/rbenv'
|
|||||||
require 'capistrano/rails'
|
require 'capistrano/rails'
|
||||||
require 'whenever/capistrano'
|
require 'whenever/capistrano'
|
||||||
require 'capistrano3/unicorn'
|
require 'capistrano3/unicorn'
|
||||||
|
require 'new_relic/recipies'
|
||||||
|
|
||||||
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
|
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
|
||||||
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }
|
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }
|
||||||
|
|
||||||
|
after "deploy:updated", "newrelic:notice_deployment"
|
||||||
|
|||||||
Reference in New Issue
Block a user