lib/airbrake/tasks/airbrake.cap in airbrake-4.3.1 vs lib/airbrake/tasks/airbrake.cap in airbrake-4.3.2
- old
+ new
@@ -15,10 +15,9 @@
airbrake_env = fetch(:airbrake_env, fetch(:rails_env, fetch(:stage)))
notify_command = "airbrake:deploy"
notify_command << " TO=#{airbrake_env}"
notify_command << " REVISION=#{fetch(:current_revision)} REPO=#{fetch(:repo_url)}"
notify_command << " USER=#{local_user.strip.shellescape}"
- notify_command << " API_KEY=#{ENV['API_KEY']}" if ENV['API_KEY']
info "Notifying Airbrake of Deploy (#{notify_command})"
execute :rake, notify_command
info "Airbrake Notification Complete."
end