This repository is configured for automated deployment to Netlify.
- Site ID:
f6b77b23-6c7c-409d-9ebc-5112f6e0465f - Build Command:
npm run generate - Publish Directory:
dist
- Go to your Netlify dashboard: https://app.netlify.com
- Navigate to your site (Site ID: f6b77b23-6c7c-409d-9ebc-5112f6e0465f)
- Go to Site settings → Build & deploy → Continuous Deployment
- Click Link to Git provider and connect your GitHub repository
- Configure build settings:
- Build command:
npm run generate - Publish directory:
dist - Node version:
18
- Build command:
- Save and deploy!
Netlify will automatically deploy on every push to your main/master branch.
If you prefer using GitHub Actions, the workflow is already set up at .github/workflows/netlify-deploy.yml.
-
Get your Netlify Auth Token:
- Go to https://app.netlify.com/user/applications
- Click New access token
- Give it a name (e.g., "GitHub Actions Deploy")
- Copy the token
-
Add the token to GitHub Secrets:
- Go to your GitHub repository
- Navigate to Settings → Secrets and variables → Actions
- Click New repository secret
- Name:
NETLIFY_AUTH_TOKEN - Value: Paste your Netlify auth token
- Click Add secret
-
Push to master/main branch - deployment will trigger automatically!
The netlify.toml file includes:
- Build settings
- Cache headers for static assets
- Security headers (X-Frame-Options, X-XSS-Protection, etc.)
- SPA redirects for client-side routing
To test the Netlify build locally:
# Install Netlify CLI
npm install -g netlify-cli
# Build the site
npm run generate
# Test locally with Netlify
netlify devIf you need to add environment variables:
- Go to Netlify dashboard → Site settings → Environment variables
- Add your variables there
- They'll be available during build time
# Install Netlify CLI
npm install -g netlify-cli
# Login to Netlify
netlify login
# Build the site
npm run generate
# Deploy to production
netlify deploy --prod --dir=dist