Add meilisearch sync to deploy
continuous-integration/drone/push Build is failing Details

This commit is contained in:
philipp lang 2024-01-26 00:21:27 +01:00
parent baeed70886
commit 21ea72047c
1 changed files with 1 additions and 0 deletions

View File

@ -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