Skip to content

Commit

Permalink
Remove db seed from production deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mlainez committed Sep 11, 2011
1 parent ee39c27 commit ae54f63
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions config/deploy/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,10 @@
run "ln -s #{deploy_to}/shared/database.yml #{deploy_to}/current/config/database.yml"
end

desc "Seeding Database"
task :rake_db_seed do
run "cd #{current_path}/ && rake RAILS_ENV=\"production\" db:seed --trace"
end

[:start, :stop].each do |t|
desc "#{t} task is a no-op with mod_rails"
task t, :roles => :app do ; end
end

after "deploy:update", "deploy:remove_pictures", "deploy:symlink_members_pictures", "deploy:symlink_options", "deploy:symlink_db", "deploy:rake_db_migrate", "deploy:rake_db_seed"
after "deploy:update", "deploy:remove_pictures", "deploy:symlink_members_pictures", "deploy:symlink_options", "deploy:symlink_db", "deploy:rake_db_migrate"
end

0 comments on commit ae54f63

Please sign in to comment.