Skip to content

Instantly share code, notes, and snippets.

View scott-coates's full-sized avatar

Scott Coates scott-coates

View GitHub Profile
@scott-coates
scott-coates / Rakefile.rb
Created July 26, 2013 23:02 — forked from nextlanding/Rakefile.rb
This is a simple rake task to deploy an app to heroku.
# 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'