Skip to content

Deploy to Vercel

최규민

May 25, 20261 min read

Deploy to Vercel

Deploy on Vercel

Vercel is the simplest production target for Notion-As-Blog because it supports Next.js, ISR, serverless routes, image optimization, and automatic deployments.

Import the repository

Create a new Vercel project from your GitHub repository. The framework should be detected as Next.js automatically.

Add production environment variables

plain text
NOTION_API_KEY
NOTION_DATA_SOURCE_ID
NOTION_AUTHORS_DATA_SOURCE_ID
TOKEN_FOR_REVALIDATE
NOTION_IMAGE_SIGNING_SECRET
NOTION_IMAGE_CACHE_SECONDS

Deploy

bash
vercel deploy --prod

Verify production

  • Open the production URL and confirm that public posts are listed.
  • Open /sitemap.xml and /feed.xml.
  • Search for a known title.
  • Open a post with a cover image and confirm the image loads.

Refresh after Notion edits

bash
curl -X POST https://your-domain.com/api/revalidate \
  -H "Authorization: Bearer $TOKEN_FOR_REVALIDATE"