optimize composer’s autoloader during deployment
This commit is contained in:
parent
6e42f853ee
commit
4bc613399e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue