capistrano: only log newrelic deployment in production.

Fix local development deployments getting logged in New Relic.
This commit is contained in:
evazion
2019-08-07 22:11:07 -05:00
parent 2beb79166e
commit 9996dd40bb
2 changed files with 3 additions and 3 deletions

View File

@@ -17,5 +17,3 @@ require 'new_relic/recipes'
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
after "deploy:updated", "newrelic:notice_deployment"