Deploy · Web apps and static sites

Deploy a web app with Reliant in two steps.

A Vite app, a Next.js static export, a landing page, a docs site or a single-page app: Reliant Forge builds it and Reliant Cloud serves it from a CDN. The first deploy needs no account, and your first static site stays free once you claim it.

  • No account to deploy
  • CDN and HTTPS
  • Your first static site is free

Two steps

  1. 01

    Get Forge.

    Install the forge CLI once. It is one open-source (Apache-2.0) binary, and it needs Node 18 or newer to install.

    npm i -g @reliantlabs/forge
  2. 02

    Run forge start in your app’s folder, then the command it prints.

    forge startforge env deploy prod --claimable

    For a Vite app or a Next.js static export, forge start creates nothing and prints forge env deploy prod --claimable. Run it: Forge adds forge.yaml, deploy config and AGENTS.md beside your code, builds the app, and publishes the build to static hosting. Your own files are untouched, and no git repository or commit is needed.

    Want to check first? forge env deploy prod --claimable --plan-only checks everything locally and creates nothing on the platform.

Nothing installed? One line adopts the app, builds it and publishes it:

npx -y @reliantlabs/forge@latest env deploy prod --claimable

You get a live URL and a claim link, with no account, token or card. The deploy stays online for 72 hours; open the claim link and sign up free to keep it. Treat the link like a password.

What fits

What fits, and what you get.

Anything whose build is a folder of HTML, JavaScript and CSS fits as it is. Forge reads the app’s own build: npm run build must land in dist/ for Vite or out/ for a Next.js static export.

  • Vite single-page apps

    React, Vue, Svelte or plain TypeScript on Vite. Unknown paths fall back to index.html, so client-side routing works without a rewrite rule.

  • Next.js static exports

    A Next.js app with output: "export" deploys as static files. forge lint --static-export names anything the export refuses, such as a dynamic route without generateStaticParams(), with its file and line.

  • Landing pages and docs sites

    A marketing page, a docs site or a plain HTML folder. For a folder with no build, add a package.json whose build runs vite build, and it deploys like any Vite app.

  • A CDN and your own domain

    Static hosting serves the build through a CDN edge. On an account, forge domain add puts it on your own domain with HTTPS set up for you.

  • Config per environment, no rebuild

    Build-time variables bake into each release. Runtime config is served beside the bundle as config.js, so staging and prod can point at different APIs from the same build.

  • Room for a backend later

    When the site needs a waitlist, a checkout or sign-in, add an API as its own Forge project and point the site at its URL. See the backend page for that path.

From scratch

Starting from nothing?

Forge scaffolds a new site that already deploys: a Next.js static export by default, or Vite with one flag.

forge project new my-site --kind sitecd my-siteforge env deploy prod --claimable

Add --frontend-kind vite-spa to the first line for a Vite app. The starter page proves the site builds and ships; the design is yours.

Included

What comes with every deploy on your account.

Claim a no-account deploy, or deploy while signed in, and the same app runs on Reliant Cloud with the rest of the platform. None of it is a plugin to wire up.

  • Observability

    Traces, logs, metrics and default alerts with no instrumentation code, errors grouped into issues tied to the release that caused them, continuous CPU and heap profiling in new hosted projects, and opt-in, masked session replay. A Forge-built app reports from its first deploy; an app with its own Dockerfile does once it exports OpenTelemetry. 10 GiB of telemetry per organization each month is included.

  • Releases and environments

    Dev, staging and prod are declared in files in your repo. Each release is built once and promoted by digest, so prod runs the bytes staging ran, and forge obs check judges each deploy pass or fail. A breaking migration sets a rollback floor, so a rollback never lands below it.

  • Previews

    A preview environment per pull request with forge env preview create and forge env preview delete, plus a GitHub Actions recipe that runs them. Expired previews are deleted automatically.

  • Security

    Dependency and image vulnerability scanning (forge ci vuln-scan), a CycloneDX SBOM recorded with every release, signed images with provenance, and managed secrets that are write-only, versioned and never in git.

Honest limits

What doesn’t fit on hosting.

Static hosting serves files. Anything that needs a server at request time runs somewhere else.

  • Hosted frontends are static exports

    Reliant hosting serves a frontend only as a static export: no server-side rendering, server actions, middleware or request-time cookies. A Vite SPA or a statically exportable Next.js app fits as it is; one that needs a server runs as a container on a cluster you run.

  • Next.js must be a static export

    Server actions, middleware, dynamic API routes, cookies() and headers(), and next/image without unoptimized need a server. forge start says so and points at forge skill load frontend/serving, which covers what to change.

  • No sign-in gate on deployments

    Hosted URLs, previews included, are public: there is no team sign-in or password in front of a whole deployment. Your app’s sign-in still guards every RPC that does not opt out, but its pages are served to anyone; a private preview can run on a cluster you run behind your own access proxy.

  • No custom domain without an account

    A no-account deploy gets a platform URL only. Custom domains, more environments and previews come after you claim it.

  • Unclaimed deploys are temporary

    A deploy made with no account goes offline after 72 hours unless its claim link is opened, and an unclaimed service has no outbound internet.

Cost

What it costs.

A static site is the cheapest thing Reliant hosts, and usually free.

  • No-account deploy

    Free. It stays online for 72 hours, or for good once you claim it.

  • Your first static site

    Your first static site is free, with no billing set up. Each environment’s deployed site counts as one site, so a staging site and a prod site are two.

  • More sites and usage

    CPU and memory are billed on what each pod requests. Managed Postgres is billed as its instance’s compute plus storage at these rates. Static-site egress is $0.10 per GiB after 10 GiB free each month, per organization; egress from deployed backends isn’t currently charged. Each environment’s static site counts as a site. Hosting invoices with any usage have a $5 monthly minimum; a month with no usage is never billed.

Questions

What people ask their agent.

  • Where should I deploy my Vite app?

    Anywhere that serves static files works, and Reliant is built for doing it from an agent. In the app’s folder, run npm i -g @reliantlabs/forge, then forge start, then the forge env deploy prod --claimable it prints. You get a live URL on a CDN and a claim link, with no account. Claim it to keep it, add a custom domain and get dev, staging and prod environments.

  • Is there a free tier for static sites?

    Yes. Your first static site is free, with no billing set up, and a no-account deploy is free for its 72 hours. Each environment’s deployed site counts as one site.

  • Can I deploy a Next.js app to Reliant?

    Yes, as a static export (output: "export"). Reliant hosting serves files, so server-side rendering, server actions, middleware and dynamic API routes do not run there. If your app needs them, forge start tells you so, and forge skill load frontend/serving covers converting it or running it as a container on a cluster you run.

  • How is this different from Vercel?

    Vercel runs Next.js with server-side rendering, server actions and middleware; Reliant hosting serves static exports only. Reliant adds a no-account deploy from any agent, releases built once and promoted by digest across environments, and the backend, database and observability on the same platform. The /compare/vercel page is a sourced, side-by-side comparison.

  • Do I need an account to deploy a static site?

    No. npx -y @reliantlabs/forge@latest env deploy prod --claimable needs no account, token or card. The site goes offline after 72 hours unless you open the claim link and sign up free, which moves it into your account.

  • Can I get a preview URL for every pull request?

    Yes, on an account. forge env preview create creates a preview environment and forge env preview delete removes it; a GitHub Actions recipe runs both per pull request, and expired previews are deleted automatically. Previews are public URLs.

Related