{
  "slug": "netlify-deploy-accepts-site-name-and-team-2143b452f26e",
  "title": "netlify deploy accepts --site-name and --team",
  "tools": [
    "netlify"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-24T15:05:30.000Z",
  "announced_at": "2026-03-24T15:05:30.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When deploying an unlinked project as a new site under a team, run `netlify deploy --site-name <site-name> --team <team-slug>`. `--site-name` creates the site if it does not already exist; `--team` selects the team when creating it.",
    "examples": [
      "netlify deploy --site-name <site-name> --team <team-slug>"
    ],
    "gotchas": [
      "Version: 24.5.0",
      "--site-name <string> (required): Name for a new site; implies `--create-site` if the site does not already exist.",
      "--team <string> (required): Team slug to use when creating a site; works only with `--create-site` or `--site-name`.",
      "Prerequisite: Install Netlify CLI; its docs require Node.js 18.14.0 or later.",
      "Prerequisite: Netlify CLI authenticates with an access token; the docs describe obtaining one through the CLI or Netlify UI.",
      "`--team` only works with `--create-site` or `--site-name`."
    ]
  },
  "why_it_matters": "Deploy an unlinked project as a new site under a specified team.",
  "before": "The CLI prompted the user to select an existing site or create one on the first `netlify deploy`; the release note says unlinked-folder deploys could hang on interactive prompts.",
  "sources": [
    "https://github.com/netlify/cli/releases/tag/v24.5.0",
    "https://github.com/netlify/cli/pull/8083",
    "https://github.com/netlify/cli/blob/v24.5.0/docs/commands/deploy.md",
    "https://docs.netlify.com/api-and-cli-guides/cli-guides/get-started-with-cli/"
  ],
  "rank": 0.98044,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-1821a633eb7d5023-0:gate",
    "evidence_hash": "d068ccb027cace0e7b704c4dac942dafcf57ed332ad56bddbe75b2e986bb522f"
  },
  "review": {
    "draft_hash": "41e3270a7588b11611e9141ed34d232cf20318e40b8e9cd7643e537d9f78a7f4",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
