From 390f49e3119669554cfb2fe0b8254282975ed1e5 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Thu, 5 Nov 2015 17:06:45 +0000 Subject: [PATCH] Deploy tasks match `bin/setup` Match the deploy tasks with the Heroku remotes that are added in `bin/setup`. --- Rakefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 1e6e0ebcea..4cc134180a 100644 --- a/Rakefile +++ b/Rakefile @@ -29,10 +29,15 @@ if defined? RSpec end end -desc "Deploy the example app to Heroku" namespace :deploy do - task :example do - exec 'git push heroku `git subtree split --prefix spec/example_app`:master --force' + desc "Deploy the example app to Heroku staging" + task :staging do + exec %(git push staging `git subtree split --prefix spec/example_app`:master --force) + end + + desc "Deploy the example app to Heroku production" + task :production do + exec %(git push production `git subtree split --prefix spec/example_app`:master --force) end end