Portfolio Hosting & CI/CD on Vercel
This portfolio — Next.js 15, TypeScript, Tailwind CSS v4 — deployed on Vercel with automatic preview deployments per pull request and production deploys on merge to main.

This portfolio — Next.js 15, TypeScript, Tailwind CSS v4 — deployed on Vercel with automatic preview deployments per pull request and production deploys on merge to main.

Problem
A portfolio is itself infrastructure. It needs a deployment pipeline, zero-downtime updates, branch preview environments, and a build that fails fast on type errors.
Approach
Built the site with Next.js 15 (App Router), TypeScript, Tailwind CSS v4, and React 19.
Connected the GitHub repo to Vercel for automatic deploys: every push to main triggers a production build.
Pull request branches get preview deployments at unique URLs — reviewable before merge.
Configured next.config.ts to enforce strict TypeScript and fail the build on type errors.
Set up custom domain routing and HTTPS through Vercel's edge network.
Added sitemap.ts and robots.ts for SEO coverage.
Results
Code
next.config.ts — TypeScript and ESLint errors fail the build.
import type { NextConfig } from 'next';
const config: NextConfig = {
typescript: {
ignoreBuildErrors: false,
},
eslint: {
ignoreDuringBuilds: false,
},
};
export default config;Stack
Why it matters