From 21ea72047cf7e549bdb9ab75fb9e76de0073fe9f Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 26 Jan 2024 00:21:27 +0100 Subject: [PATCH] Add meilisearch sync to deploy --- .docker/php/entrypoint | 1 + 1 file changed, 1 insertion(+) diff --git a/.docker/php/entrypoint b/.docker/php/entrypoint index c8b52911..ca0f6eb0 100755 --- a/.docker/php/entrypoint +++ b/.docker/php/entrypoint @@ -29,6 +29,7 @@ if [ $1 == "app" ]; then wait_for_db php -r '$connection = new PDO("mysql:host='$DB_HOST';dbname='$DB_DATABASE'", "'$DB_USERNAME'", "'$DB_PASSWORD'"); $connection->query("DESCRIBE migrations");' > /dev/null || php artisan migrate --seed --force su www-data -c 'php artisan migrate --force' + php artisan scout:sync-index-settings php-fpm -F -R -O fi