feat: add npm run build to deploy script workflow
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user