Portfolio site built with Next.js and Tailwind CSS.
npm install
npm run devThis project is configured for static export for S3 hosting.
npm run build:staticBuild output is generated in out/.
GitHub Actions workflow: .github/workflows/deploy.yml
On push to main, the workflow:
- Installs dependencies
- Builds the static site
- Uploads
out/to S3 - Invalidates CloudFront cache
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYAWS_REGIONS3_BUCKET_NAMECLOUDFRONT_DISTRIBUTION_ID
- S3 bucket should be configured for static website hosting (or served via CloudFront origin access).
- CloudFront should point to your S3 origin and handle HTTPS.