ci: 自動化權限同步與快取清理邏輯
This commit is contained in:
@@ -104,6 +104,8 @@ jobs:
|
|||||||
php artisan migrate --force &&
|
php artisan migrate --force &&
|
||||||
php artisan tenants:migrate --force &&
|
php artisan tenants:migrate --force &&
|
||||||
php artisan db:seed --force &&
|
php artisan db:seed --force &&
|
||||||
|
php artisan tenants:run db:seed --class=PermissionSeeder --force &&
|
||||||
|
php artisan permission:cache-reset &&
|
||||||
php artisan optimize:clear &&
|
php artisan optimize:clear &&
|
||||||
php artisan optimize &&
|
php artisan optimize &&
|
||||||
php artisan view:cache
|
php artisan view:cache
|
||||||
@@ -197,6 +199,9 @@ jobs:
|
|||||||
php artisan storage:link &&
|
php artisan storage:link &&
|
||||||
php artisan migrate --force &&
|
php artisan migrate --force &&
|
||||||
php artisan tenants:migrate --force &&
|
php artisan tenants:migrate --force &&
|
||||||
|
php artisan db:seed --force &&
|
||||||
|
php artisan tenants:run db:seed --class=PermissionSeeder --force &&
|
||||||
|
php artisan permission:cache-reset &&
|
||||||
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