GitHub Pages Deployment Guide#
This project is configured to automatically deploy to GitHub Pages via GitHub Actions.
Setup Instructions#
1. Enable GitHub Pages in Repository Settings#
- Go to your GitHub repository
- Navigate to Settings → Pages
- Under Source, select GitHub Actions
2. Push Your Changes#
Once you push to the main branch, the GitHub Action will automatically:
- Build the project
- Deploy to GitHub Pages
git add .
git commit -m "Add GitHub Pages deployment"
git push origin main
3. Access Your Site#
After the action completes successfully, your site will be available at:
https://<your-username>.github.io/proofery-web/
Manual Deployment#
You can also trigger a deployment manually:
- Go to Actions tab in your repository
- Select the Deploy to GitHub Pages workflow
- Click Run workflow
Configuration#
- Workflow file:
.github/workflows/deploy.yml - Base path:
/proofery-web/(configured invite.config.ts) - Build output:
dist/directory
Troubleshooting#
If the deployment fails:
- Check the Actions tab for error messages
- Ensure GitHub Pages is enabled in repository settings
- Verify the repository has the correct permissions set in the workflow
- Make sure the
mainbranch is the default branch
Local Testing#
To test the production build locally:
npm run build
npm run preview