---
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

<table>
<thead>
  <tr>
    <th>
      Variable
    </th>
    
    <th>
      Purpose
    </th>
    
    <th>
      Required when
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style="">
        <span class="sBMFI">
          GITHUB_TOKEN
        </span>
      </code>
    </td>
    
    <td>
      Git integration
    </td>
    
    <td>
      Displaying commit history
    </td>
  </tr>
  
  <tr>
    <td>
      <code className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style="">
        <span class="sBMFI">
          AI_API_KEY
        </span>
      </code>
    </td>
    
    <td>
      AI Chat feature
    </td>
    
    <td>
      Using AI Chat
    </td>
  </tr>
</tbody>
</table>

## 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.
