run Elasticsearch update before update scripts (#6504)
This commit is contained in:
parent
e19a1a43be
commit
36147cce28
1 changed files with 3 additions and 3 deletions
|
|
@ -23,12 +23,12 @@ chdir APP_ROOT do
|
|||
puts "\n== Updating database =="
|
||||
system! 'bin/rails db:migrate'
|
||||
|
||||
puts "\n== Update Data =="
|
||||
system! 'bin/rails data_updates:run'
|
||||
|
||||
puts "\n== Update Elasticsearch =="
|
||||
system! 'bin/rails search:setup'
|
||||
|
||||
puts "\n== Update Data =="
|
||||
system! 'bin/rails data_updates:run'
|
||||
|
||||
puts "\n== Removing old logs and tempfiles =="
|
||||
system! 'bin/rails log:clear tmp:clear'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue