Skip to content

Instantly share code, notes, and snippets.

@nextlanding
nextlanding / Rakefile.rb
Created July 10, 2013 21:54
Heroku deployment rakefile.
# Deploy and rollback on Heroku in qa and production
# sources: https://gist.github.com/njvitto/362873
# https://gist.github.com/djburdick/4410411
task :deploy_qa_light => ['deploy:set_qa_app', 'deploy:push', 'deploy:tag']
task :deploy_production_light => ['deploy:set_production_app', 'deploy:push', 'deploy:tag']
namespace :deploy do
PRODUCTION_APP = 'my-heroku-prod-app'
QA_APP = 'my-heroku-qa-app'