| ← Back to README | Documentation Index | Code Quality | Developer Guide |
Your landing page is now configured to automatically deploy to GitHub Pages at: https://maneesh-relanto.github.io/Privacy-Focused-Web-Analytics-Dashboard/
.github/workflows/deploy-gh-pages.yml) is configured to automatically:
main branchgh-pages branchgit push origin main
The following files configure the GitHub Pages deployment:
config/vite.config.ts - Sets the base path for production builds:
base: process.env.NODE_ENV === "production"
? "/Privacy-Focused-Web-Analytics-Dashboard/"
: "/";
client/App.tsx - Configures React Router basename:
const basename = import.meta.env.PROD ? "/Privacy-Focused-Web-Analytics-Dashboard/" : "/";
<BrowserRouter basename={basename}>
.github/workflows/deploy-gh-pages.yml - GitHub Actions workflow that handles:
dist/spa/.nojekyll - Prevents GitHub Pages from processing JekyllIf you need to manually deploy (not recommended), you can:
pnpm run build:client
This builds the client into dist/spa/ with the correct base path configured.
The deployment uses the GITHUB_TOKEN secret (automatically available in GitHub Actions) for authentication.
gh-pages branch is automatically created and managed by the GitHub Actions workflow