about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDan Hunsaker <danhunsaker@gmail.com>2019-12-22 00:55:27 -0700
committerEugen Rochko <eugen@zeonfederated.com>2019-12-22 08:55:27 +0100
commit6821b34e0231856a42739250453d57cbb4132831 (patch)
treea72785ae10c85f06f627f8ead393c19ed42fb5ca
parent902c6bed5aab12c2e97af3452f122247777226af (diff)
Correct the Nanobox deploy hooks for order and context (#12663)
One hook was actually duplicated incorrectly; this has been fixed. Another hook was re-ordered for better results in actual use.
-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: