chore(dev): on update, run maintenance tasks configured on deploy
This commit is contained in:
parent
cae5d8afed
commit
0d5b0e81e7
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@ FileUtils.chdir APP_ROOT do
|
||||||
puts "\n== Running after_party tasks =="
|
puts "\n== Running after_party tasks =="
|
||||||
system! 'bin/rails after_party:run'
|
system! 'bin/rails after_party:run'
|
||||||
|
|
||||||
|
puts "\n== Running on deploy maintenance tasks =="
|
||||||
|
system! 'bin/rails deploy:maintenance_tasks'
|
||||||
|
|
||||||
puts "\n== Removing old logs =="
|
puts "\n== Removing old logs =="
|
||||||
system! 'bin/rails log:clear'
|
system! 'bin/rails log:clear'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue