Merge pull request #2111 from betagouv/no-seed

deploy: don't seed the database
This commit is contained in:
Mathieu Magnin 2018-06-18 10:26:23 +02:00 committed by GitHub
commit 41dbd9d599
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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