Run config:cache first

When updating config variables, such as the APP_URL, the values need to be propagated before calling e.g. route:cache/view:cache
Otherwise those commands will first run with the old config cache
pull/4255/head
Anil Kulkarni 2023-03-27 02:46:50 -07:00
rodzic 83bc84dd97
commit 91660a2477
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4806669421E998D3
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -5,11 +5,11 @@ cp -r storage.skel/* storage/
chown -R www-data:www-data storage/ bootstrap/
# Refresh the environment
php artisan config:cache
php artisan storage:link
php artisan horizon:publish
php artisan route:cache
php artisan view:cache
php artisan config:cache
# Finally run Apache
apache2-foreground

Wyświetl plik

@ -5,11 +5,11 @@ cp -r storage.skel/* storage/
chown -R www-data:www-data storage/ bootstrap/
# Refresh the environment
php artisan config:cache
php artisan storage:link
php artisan horizon:publish
php artisan route:cache
php artisan view:cache
php artisan config:cache
# Finally run FPM
php-fpm