Skip to content

Instantly share code, notes, and snippets.

View mparramont's full-sized avatar

Miguel Parramón Teixidó mparramont

View GitHub Profile
# List of environments and their heroku git remotes
ENVIRONMENTS = {
:staging => 'myapp-staging',
:production => 'myapp-production'
}
namespace :deploy do
ENVIRONMENTS.keys.each do |env|
desc "Deploy to #{env}"
task env do