cicd v11
All checks were successful
Koori-ERP-Sync-Only / sync-update (push) Successful in 49s

This commit is contained in:
2025-12-31 16:10:16 +08:00
parent b8a381719b
commit f7bdcf0a73

View File

@@ -48,10 +48,11 @@ jobs:
- name: 5. Final Permission Fix
run: |
# 統一修正權限
docker exec koori-erp-laravel.test-1 chown -R www-data:www-data /var/www/html
docker exec koori-erp-laravel.test-1 chown -R 1000:1000 /var/www/html
docker exec koori-erp-laravel.test-1 chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache
- name: 6. Clear Old Cache
run: |
# 讓 Laravel 重新讀取最新的路由與設定
docker exec koori-erp-laravel.test-1 php artisan view:clear
docker exec koori-erp-laravel.test-1 php artisan config:clear
docker exec koori-erp-laravel.test-1 php artisan route:clear