fix optimizing deployment
This commit is contained in:
@@ -20,11 +20,7 @@ echo "🗄️ Running migrations..."
|
|||||||
php artisan migrate --force
|
php artisan migrate --force
|
||||||
|
|
||||||
echo "⚡ Optimizing application..."
|
echo "⚡ Optimizing application..."
|
||||||
php artisan cache:clear
|
php artisan optimize:clear
|
||||||
php artisan config:clear
|
|
||||||
php artisan config:cache
|
|
||||||
php artisan route:cache
|
|
||||||
php artisan view:cache
|
|
||||||
|
|
||||||
echo "🔄 Restarting PHP service..."
|
echo "🔄 Restarting PHP service..."
|
||||||
systemctl restart $PHP_VERSION-fpm
|
systemctl restart $PHP_VERSION-fpm
|
||||||
|
|||||||
Reference in New Issue
Block a user