Skip to content

Instantly share code, notes, and snippets.

View jmondo's full-sized avatar

John Gesimondo jmondo

View GitHub Profile
@jmondo
jmondo / deploy.rake
Last active August 29, 2015 14:06 — forked from J3RN/deploy.rake
# Deploy and rollback on Heroku in staging and production
task :deploy_staging => ['deploy:set_staging_app',
'deploy:push',
'deploy:migrate',
'deploy:restart']
task :deploy_production => ['deploy:set_production_app',
'deploy:push',
'deploy:migrate',
'deploy:post_deploy',
'deploy:restart']