namespace :jumpup do namespace :heroku do desc "Add Heroku git remotes" task add_remote: :environment do Jumpup::Heroku::Integrate.add_remote end desc "Check if there's someone else integrating the project" task check: :environment do Jumpup::Heroku::Integrate.check end desc "Lock the Heroku integration" task lock: :environment do Jumpup::Heroku::Integrate.lock end desc "Unlock the Heroku integration" task unlock: :environment do Jumpup::Heroku::Integrate.unlock end desc "Deploy to heroku" task deploy: :environment do Jumpup::Heroku::Integrate.deploy end namespace :deploy do desc "Deploy to production" task production: :environment do Jumpup::Heroku::Integrate.deploy_to_production end end end end