Permalink
Browse files

Rake task cleanup

  • Loading branch information...
1 parent 6dbeb45 commit 2ee8a9c48dbbccc247d6bbc976a7d8ddd9b14619 @nick-desteffen committed Jul 27, 2012
Showing with 6 additions and 1 deletion.
  1. 0 lib/tasks/.gitkeep
  2. +6 −1 lib/tasks/{db.rake → system.rake}
View
No changes.
@@ -1,8 +1,13 @@
namespace :db do
desc "Retrieves the database from production and updates locally"
- task :retrieve => :environment do
+ task :fetch do
sh 'bundle exec heroku db:pull --confirm smooth-warrior-334'
end
end
+
+desc "Deploys to Heroku"
+task :deploy do
+ sh 'git push heroku master'
+end

0 comments on commit 2ee8a9c

Please sign in to comment.