[FIX] 在部署流程中加入 php artisan storage:link 以確保頭像與靜態資源連結正常
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 41s
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 41s
This commit is contained in:
@@ -92,6 +92,7 @@ jobs:
|
|||||||
|
|
||||||
# 3. Laravel 初始化與優化
|
# 3. Laravel 初始化與優化
|
||||||
php artisan migrate --force &&
|
php artisan migrate --force &&
|
||||||
|
php artisan storage:link &&
|
||||||
php artisan optimize:clear &&
|
php artisan optimize:clear &&
|
||||||
php artisan optimize &&
|
php artisan optimize &&
|
||||||
php artisan view:cache &&
|
php artisan view:cache &&
|
||||||
|
|||||||
Reference in New Issue
Block a user