bin: run after_party tasks on bin/update

This commit is contained in:
Pierre de La Morinerie 2019-03-28 11:04:00 +01:00
parent 33a5f13f98
commit e72638f3ba

View file

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