feat: add npm run build to deploy script workflow

This commit is contained in:
2026-05-26 08:32:41 +08:00
parent 4d7fc82d3d
commit 49f35a64a5

View File

@@ -124,7 +124,10 @@ execute("git status 2>&1");
// 2. Pull latest changes
execute("git pull origin main 2>&1");
// 3. Re-optimize Laravel cache and run migrations
// 3. Build frontend assets
execute("npm run build 2>&1");
// 4. Re-optimize Laravel cache and run migrations
execute("php artisan optimize:clear 2>&1");
execute("php artisan migrate --force 2>&1");