From 9e164cafae08d9cc01f5e897be0e8f4129d3659a Mon Sep 17 00:00:00 2001 From: Albert Yi Date: Fri, 2 Dec 2016 15:06:36 -0800 Subject: [PATCH] add cap task for updating newrelic on deployments --- Capfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Capfile b/Capfile index 3e4831f2e..9cd87e3d7 100644 --- a/Capfile +++ b/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"