Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Commit

Permalink
Report prod as the env rather than production
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Mar 15, 2018
1 parent 83a3c92 commit 02b9ea7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@
# Default value for keep_releases is 5
# set :keep_releases, 5

namespace :deploy do
# honeybadger_env otherwise defaults to rails_env
# we want prod rather than production
set :honeybadger_env, fetch(:stage)

namespace :deploy do
task :restart do
on roles(:app), in: :sequence, wait: 5 do
# Your restart mechanism here, for example:
Expand All @@ -54,5 +57,4 @@
# end
end
end

end

0 comments on commit 02b9ea7

Please sign in to comment.