This Next.js app is configured for deployment to GitHub Pages at https://open-superintelligence-lab.github.io/Open-Superintelligence-Lab.github.io/.
- Base Path Configuration: Updated
next.config.tswith correctbasePathandassetPrefix - Tailwind CSS: Verified content paths include
./app/**/*.{js,ts,jsx,tsx,mdx} - GitHub Actions: Created automatic deployment workflow
- Build Process: Fixed Turbopack issues and PostCSS configuration
The GitHub Actions workflow will automatically deploy when you push to the main branch:
- Push your changes to
main - The workflow will build and deploy automatically
- Your site will be available at:
https://open-superintelligence-lab.github.io/Open-Superintelligence-Lab.github.io/
# Build and export for production
npm run export
# Serve locally to test
npm run serve:out
# The built files are in the `out/` directory
# Push the contents of `out/` to your `gh-pages` branchTo test the production build locally:
# Build and export with production settings
npm run export
# Serve the built files
npm run serve:outnext.config.ts- Contains basePath and assetPrefix configuration.github/workflows/deploy.yml- GitHub Actions deployment workflowtailwind.config.js- Tailwind CSS configuration with correct content pathspostcss.config.mjs- PostCSS configuration for CSS processing
If CSS is missing on GitHub Pages:
- β
Check
basePathmatches your repo name exactly - β
Verify
assetPrefixhas trailing slash - β Ensure Tailwind content paths include all your component directories
- β
Make sure you're deploying the
out/folder, not.next/
Once deployed, your site will be available at:
https://open-superintelligence-lab.github.io/Open-Superintelligence-Lab.github.io/