瀏覽代碼

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.
master^2
Dan Hunsaker 4 年之前
committed by Eugen Rochko
父節點
當前提交
6821b34e02
共有 1 個檔案被更改,包括 3 行新增4 行删除
  1. +3
    -4
      boxfile.yml

+ 3
- 4
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:


Loading…
取消
儲存