DrMan's Blog

1. Why GitHub + Vercel#

  • Preview deployments for every PR
  • Push-to-deploy
  • HTTPS + CDN out of the box

Reference walkthrough: Website on Vercel

2. Preflight Checklist#

Make sure it builds locally:

pnpm install
pnpm build
bash

Set your domain (at least the main domain):

  • src/site.config.tstheme.personal.domains.main

3. Vercel Notes#

This theme reads DEPLOYMENT_PLATFORM to pick adapter/output:

  • vercel (default): Vercel adapter, usually server output
  • github: GitHub Pages, static output
  • cloudflare: Cloudflare Pages, static output

On Vercel, set:

DEPLOYMENT_PLATFORM=vercel
txt

Build command:

pnpm build
txt

Keep the output directory setting as default (Astro is handled by the adapter).

4. Static Output (Optional)#

If you need a fully static site (e.g. GitHub Pages), set:

DEPLOYMENT_PLATFORM=github
txt

and deploy the dist/ output.

Deploy with GitHub + Vercel (Recommended)
https://drman.top/en/blog/deploy-vercel
Author DrMan
Published at January 11, 2026