From a08f2cb2b7770f8ae1d5ab640af90bf7f65548ce Mon Sep 17 00:00:00 2001 From: arifal Date: Tue, 4 Mar 2025 16:45:32 +0700 Subject: [PATCH] fix optimizing deployment --- deploy.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/deploy.sh b/deploy.sh index 9a9f7d6..33af4a3 100755 --- a/deploy.sh +++ b/deploy.sh @@ -20,11 +20,7 @@ echo "🗄️ Running migrations..." php artisan migrate --force echo "⚡ Optimizing application..." -php artisan cache:clear -php artisan config:clear -php artisan config:cache -php artisan route:cache -php artisan view:cache +php artisan optimize:clear echo "🔄 Restarting PHP service..." systemctl restart $PHP_VERSION-fpm