Merge pull request #3697 from betagouv/bin-update-after-party

bin: run after_party tasks on bin/update
This commit is contained in:
Pierre de La Morinerie 2019-03-28 12:32:50 +01:00 committed by GitHub
commit ea6acbdd49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,9 @@ chdir APP_ROOT do
puts "\n== Updating database =="
system! 'bin/rails db:migrate'
puts "\n== Running after_party tasks =="
system! 'bin/rails after_party:run'
puts "\n== Removing old logs =="
system! 'bin/rails log:clear'