about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--boxfile.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/boxfile.yml b/boxfile.yml
index 1bc3929c8..c4fd19ce6 100644
--- a/boxfile.yml
+++ b/boxfile.yml
@@ -60,16 +60,15 @@ deploy.config:
     - touch /app/log/production.log
   before_live:
     web.web:
+      - bin/tootctl cache clear
       - bundle exec rake db:migrate:setup
+  after_live:
+    worker.sidekiq:
       - |-
           if [[ "${ES_ENABLED}" != "false" ]]
           then
             bin/tootctl search deploy
           fi
-      - bin/tootctl cache clear
-  after_live:
-    worker.sidekiq:
-      - bin/tootctl search deploy
 
 
 web.web: