{
  "topic": "static-sites",
  "section": {
    "n": 3,
    "name": "Deploy"
  },
  "title": "Static websites",
  "covers": "Plain websites: live in seconds, with no server, logs or env vars",
  "summary": "An upload that is only files (index.html and assets) is published directly, with no build. It is usually live within 2 seconds.",
  "done_when": "The page opens at its link and looks right.",
  "available": true,
  "who": {
    "connector": "deploy_app",
    "api": "POST https://ship.embarko.ai/apps",
    "dashboard": null,
    "needs_human": null
  },
  "steps": {
    "connector": [
      "Deploy it like any app. The reply is normally already \"live\"."
    ],
    "http_api": [
      "POST https://ship.embarko.ai/apps like any app. The reply is normally 200 with status \"live\". A very large site replies 202 \"publishing\": GET https://ship.embarko.ai/apps/{app-name}/status every 2 seconds."
    ]
  },
  "examples": [
    {
      "title": "Static site reply → 200 live",
      "response_status": 200,
      "response": {
        "success": true,
        "status": "live",
        "app": {
          "name": "my-site",
          "kind": "static",
          "claimed": false,
          "id": "cmh1q2w3e0002abcdmysite",
          "expiresAt": "2026-10-10T06:50:46.326Z"
        },
        "action": "created",
        "next": "New app: save app.id as \"appId\" in embarko.json, so later deploys reach this app even if it is renamed. Live: give the user links.app and tell them it will be deleted at 2026-10-10T06:50:46.326Z unless claimed. To claim it, follow links.help.",
        "links": {
          "app": "https://my-site.embarko.app",
          "feedback": "https://ship.embarko.ai/apps/my-site/customer-query",
          "help": "https://embarko.ai/docs/claim"
        }
      }
    }
  ],
  "limits": [
    "No logs, env vars or DATA_DIR: nothing runs on a server.",
    "A static site cannot later become a server app (422 app_kind_changed). Use a new name.",
    "A single-page app with a build step (Vite, Create React App, Lovable) is built on Embarko and then served the same way; its build takes longer than a plain upload. Build-time values go in a committed config file (see deploy, How it starts).",
    "Data the page keeps in localStorage stays in each visitor's own browser: it is not shared and does not follow them to another device. Tell the person, or use a server app with SQLite if it must be shared."
  ],
  "prerequisites": {
    "read_first": "https://embarko.ai/docs/prerequisites",
    "user": "The person is usually not a developer. They want to know if the app is live, not how.",
    "talk": "Reply in 1-3 short plain sentences: what happened, and what the person needs to do only if something is needed. Do not show commands, API names, tokens, headers or logs, or describe the steps you took, unless the person asks for technical details. If the person is clearly a developer (uses technical terms, asks what you ran), talk to them that way for the rest of the conversation. Never show a token. Never invent a link, name or code: use only what Embarko's replies, this guide or the person give you.",
    "route": "Connector first if it is in your tools, then the HTTP API, then the upload page as a last resort.",
    "domains": "ship.embarko.ai (API), embarko.ai (website), {app-name}.embarko.app (apps): all Embarko.",
    "requires": []
  },
  "next": "Deploy it. If it needs server code or secrets, deploy it as a server app.",
  "related": [
    {
      "topic": "deploy",
      "why": "The deploy call",
      "url": "https://embarko.ai/docs/deploy"
    },
    {
      "topic": "custom-domain",
      "why": "Static sites can use a custom domain too",
      "url": "https://embarko.ai/docs/custom-domain"
    }
  ],
  "links": {
    "deploy": "https://ship.embarko.ai/apps"
  },
  "url": "https://embarko.ai/docs/static-sites",
  "contents": "https://embarko.ai/docs",
  "version": "2026-11-24"
}