Merge pull request #3697 from betagouv/bin-update-after-party
bin: run after_party tasks on bin/update
This commit is contained in:
commit
ea6acbdd49
1 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue