Make it possible to call :notify_errbit with mina manually
This commit is contained in:
parent
97bf86454e
commit
1c909e60f6
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ desc 'Notifies the exception handler of the deploy.'
|
||||||
task :notify_errbit do
|
task :notify_errbit do
|
||||||
revision = `git rev-parse HEAD`.strip
|
revision = `git rev-parse HEAD`.strip
|
||||||
user = ENV['USER']
|
user = ENV['USER']
|
||||||
queue "bundle exec rake hoptoad:deploy TO=#{rails_env} REVISION=#{revision} REPO=#{repository} USER=#{user}"
|
queue "cd #{deploy_to}/current && RAILS_ENV=production bundle exec rake hoptoad:deploy TO=#{rails_env} REVISION=#{revision} REPO=#{repository} USER=#{user}"
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'Back ups the database'
|
desc 'Back ups the database'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue