diff --git a/public/git-pull.php b/public/git-pull.php index 781ab4b64..d0962a969 100644 --- a/public/git-pull.php +++ b/public/git-pull.php @@ -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");