add vite
Some checks failed
Build, Push and Deploy / build-and-push (push) Failing after 1m33s
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 8s
Build, Push and Deploy / deploy-staging (push) Has been skipped
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s

This commit is contained in:
eko
2026-03-29 13:48:35 +07:00
parent 7c985008d1
commit f1b383fbc7
2 changed files with 22 additions and 1 deletions

View File

@@ -67,6 +67,15 @@ php artisan cache:clear || true
php artisan view:clear || true
php artisan route:clear || true
# Verify Vite manifest exists
if [ -f public/build/manifest.json ]; then
echo "✅ Vite manifest found at public/build/manifest.json"
else
echo "⚠️ Warning: Vite manifest not found! Assets may not load correctly."
echo "Current contents of public/build:"
ls -la public/build/ 2>/dev/null || echo "public/build directory does not exist"
fi
# Optional: Run migrations if needed
# php artisan migrate --force