lib/appsignal/integrations/capistrano/capistrano_2_tasks.rb in appsignal-1.3.6 vs lib/appsignal/integrations/capistrano/capistrano_2_tasks.rb in appsignal-1.4.0.alpha.1
- old
+ new
@@ -5,11 +5,11 @@
after 'deploy', 'appsignal:deploy'
after 'deploy:migrations', 'appsignal:deploy'
namespace :appsignal do
task :deploy do
- env = fetch(:appsignal_env, fetch(:stage, fetch(:rails_env, fetch(:rack_env, 'production'))))
+ env = fetch(:rails_env, fetch(:rack_env, 'production'))
user = ENV['USER'] || ENV['USERNAME']
revision = fetch(:appsignal_revision, fetch(:current_revision))
appsignal_config = Appsignal::Config.new(
ENV['PWD'],
@@ -29,10 +29,10 @@
puts 'Dry run: AppSignal deploy marker not actually sent.'
else
marker.transmit
end
else
- puts "Not notifying of deploy, config is not active for environment: #{env}"
+ puts 'Not notifying of deploy, config is not active'
end
end
end
end
end