optimize composer’s autoloader during deployment

This commit is contained in:
Jonny Barnes 2017-09-14 10:57:52 +01:00
parent 6e42f853ee
commit 4bc613399e

View file

@ -9,7 +9,7 @@ git pull
echo "Updating composer and dependencies" echo "Updating composer and dependencies"
sudo composer self-update sudo composer self-update
composer install --no-dev composer install --no-dev --optimize-autoloader
echo "Caching Laravel route and config files" echo "Caching Laravel route and config files"
php artisan route:cache php artisan route:cache