lib/heroku_deploy/tasks.rb in heroku_deploy-0.0.8 vs lib/heroku_deploy/tasks.rb in heroku_deploy-0.0.9
- old
+ new
@@ -59,11 +59,11 @@
end
desc 'Deploy changes to staging'
task :staging => :environment do
- backup( staging_app )
+ heroku_deploy.backup( staging_app )
puts "Deploying to Staging"
merge( "master", "staging" )
heroku_deploy.push_to 'staging', staging_app
@@ -73,10 +73,10 @@
end
desc 'Deploy changes to production'
task :production => :environment do
- backup( production_app )
+ heroku_deploy.backup( production_app )
puts "Deploying to Production"
merge( "staging", "production" )
heroku_deploy.push_to 'production', production_app
\ No newline at end of file