move newrelic + deploytags gem to production env, rename cap tasks to .rake
This commit is contained in:
2
Capfile
2
Capfile
@@ -13,6 +13,6 @@ require 'capistrano/deploytags'
|
||||
require 'new_relic/recipes'
|
||||
|
||||
# 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/*.rake').each { |r| import r }
|
||||
|
||||
after "deploy:updated", "newrelic:notice_deployment"
|
||||
|
||||
Reference in New Issue
Block a user