Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.agentfront.dev/llms.txt

Use this file to discover all available pages before exploring further.

Deploys a built server to the specified target platform.

Usage

nx deploy production

Configuration

project.json
{
  "targets": {
    "deploy": {
      "executor": "@frontmcp/nx:deploy",
      "dependsOn": ["build"],
      "options": {
        "target": "vercel"
      }
    }
  }
}

Options

OptionTypeDescription
targetnode | vercel | lambda | cloudflareRequired. Deployment target platform

Platform Details

TargetWhat Happens
nodeBuilds the Docker image and runs docker compose up --build -d
vercelRuns npx vercel --prod using vercel.json config
lambdaRuns sam build && sam deploy using template.yaml SAM template
cloudflareRuns npx wrangler deploy using wrangler.toml config

Workflow

# Build first, then deploy
nx build production
nx deploy production

# Or use dependsOn to chain automatically
nx deploy production  # triggers build first if configured