lib/tasks/integrate.rake in jumpup-heroku-0.0.3 vs lib/tasks/integrate.rake in jumpup-heroku-0.0.4
- old
+ new
@@ -28,14 +28,20 @@
task deploy: :environment do
Jumpup::Heroku::Integrate.deploy
end
namespace :deploy do
-
desc "Deploy to production"
task production: :environment do
Jumpup::Heroku::Integrate.deploy_to_production
end
end
+ end
+end
+
+namespace :integrate do
+ desc 'Alias to jumpup:heroku:deploy:production'
+ task production: :environment do
+ Rake.application.invoke_task('jumpup:heroku:deploy:production')
end
end