Merge pull request #2111 from betagouv/no-seed
deploy: don't seed the database
This commit is contained in:
commit
41dbd9d599
1 changed files with 2 additions and 3 deletions
|
@ -140,9 +140,8 @@ task :deploy => :environment do
|
|||
queue "/etc/init.d/#{user} upgrade "
|
||||
queue! %[sudo service delayed_job_#{user!} start]
|
||||
|
||||
queue "cd #{deploy_to}/#{current_path}/"
|
||||
queue "bundle exec rake db:seed RAILS_ENV=#{rails_env}"
|
||||
queue %[echo "-----> Rake Seeding Completed."]
|
||||
# If you are deploying a review app on a fresh testing environment,
|
||||
# now can be a good time to seed the database.
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue