forked from cybrespace/mastodon
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.
This commit is contained in:
parent
902c6bed5a
commit
6821b34e02
|
@ -60,16 +60,15 @@ deploy.config:
|
||||||
- touch /app/log/production.log
|
- touch /app/log/production.log
|
||||||
before_live:
|
before_live:
|
||||||
web.web:
|
web.web:
|
||||||
|
- bin/tootctl cache clear
|
||||||
- bundle exec rake db:migrate:setup
|
- bundle exec rake db:migrate:setup
|
||||||
|
after_live:
|
||||||
|
worker.sidekiq:
|
||||||
- |-
|
- |-
|
||||||
if [[ "${ES_ENABLED}" != "false" ]]
|
if [[ "${ES_ENABLED}" != "false" ]]
|
||||||
then
|
then
|
||||||
bin/tootctl search deploy
|
bin/tootctl search deploy
|
||||||
fi
|
fi
|
||||||
- bin/tootctl cache clear
|
|
||||||
after_live:
|
|
||||||
worker.sidekiq:
|
|
||||||
- bin/tootctl search deploy
|
|
||||||
|
|
||||||
|
|
||||||
web.web:
|
web.web:
|
||||||
|
|
Loading…
Reference in New Issue