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