---
title: "Deploy to production"
description: "Build and deploy Movk Nuxt Docs to Vercel or other hosting platforms, with details on the pnpm build command, the NUXT_GITHUB_TOKEN and AI_API_KEY environment variables, and how Nitro automatically adapts to multi-platform deployment."
canonical_url: "https://docs.mhaibaraai.cn/en/docs/getting-started/deployment"
---
# Deploy to production

> Build and deploy Movk Nuxt Docs to Vercel or other hosting platforms, with details on the pnpm build command, the NUXT_GITHUB_TOKEN and AI_API_KEY environment variables, and how Nitro automatically adapts to multi-platform deployment.

## Build for production

```bash
pnpm build
```

The build output is located in the `.output/` directory and includes both server-side and client-side code.

## Vercel deployment

### Automatic deployment

1. Create a new project on Vercel
2. Connect your Git repository
3. Configure the environment variables:
```bash
GITHUB_TOKEN=your-token
AI_API_KEY=your-key
```
4. The deploy command defaults to `nuxt build`

## Environment variables

| Variable | Purpose | Required when |
| --- | --- | --- |
| `GITHUB_TOKEN` | Git integration | Displaying commit history |
| `AI_API_KEY` | AI Chat feature | Using AI Chat |

## Related resources

- [Nuxt deployment documentation](https://nuxt.com/deploy)
- [Nitro deployment guide](https://nitro.unjs.io/deploy)


## Sitemap

See the full [sitemap](https://docs.mhaibaraai.cn/sitemap.md) for all pages.
