From 0d5b0e81e7c753fb7f4ff5aa02763d58d540cfc8 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 24 Sep 2024 14:48:04 +0200 Subject: [PATCH] chore(dev): on update, run maintenance tasks configured on deploy --- bin/update | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/update b/bin/update index 82a89894f..ccb6fb6e3 100755 --- a/bin/update +++ b/bin/update @@ -37,6 +37,9 @@ FileUtils.chdir APP_ROOT do puts "\n== Running after_party tasks ==" system! 'bin/rails after_party:run' + puts "\n== Running on deploy maintenance tasks ==" + system! 'bin/rails deploy:maintenance_tasks' + puts "\n== Removing old logs ==" system! 'bin/rails log:clear'