# Vercel

Deploy the docs site to Vercel with the right root directory and variables.

1. Import the repository in Vercel and set the root directory to `apps/web`.
2. Add the web environment variables from your `.env` file.
3. Add the production URL to Sanity CORS origins with credentials allowed.

> **SUCCESS**
>
> Pages are prerendered and refreshed when content is published.
