Load env on deploy
This commit is contained in:
parent
1b51b15d18
commit
64e191f60e
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ task :deploy => :environment do
|
|||
end
|
||||
|
||||
desc 'Notifies the exception handler of the deploy.'
|
||||
task :notify_errbit do
|
||||
task :notify_errbit => :environment do
|
||||
revision = `git rev-parse HEAD`.strip
|
||||
user = ENV['USER']
|
||||
queue "bundle exec rake hoptoad:deploy TO=#{rails_env} REVISION=#{revision} REPO=#{repository} USER=#{user}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue