Skip to content
CafeJS Docs
On this page 2 entries
  1. 3.1.1 The two ways side by side
  2. 3.1.2 Each way in a paragraph

Choose a way to deploy

There are two ways to take the site live: TinaCloud if the owner wants to edit content on the live site, a static export if the site rarely changes.

The two ways side by side

Way 1: TinaCloudWay 2: Static export
Where content is editedThe admin on the live site, from any computerThe admin on the developer’s computer
NeedsA GitHub repo, a TinaCloud account, a host that builds from GitAny static host
After an editThe host rebuilds, the site changes a few minutes laterBuild and upload again by hand
SuitsOwners who edit content oftenSites that rarely change, or have someone to edit them
CostHosting, plus a TinaCloud plan (see tina.io’s pricing)Hosting only

Each way in a paragraph

Edit content on the live site, from any computer. TinaCloud handles signing in to the admin and saves content to GitHub; the host rebuilds the site after each save.

Build commandpnpm build
Build output directorydist/client

Every step is in 3.2 TinaCloud + Cloudflare Pages.

Tip

Not sure? Start with the static export: it needs no account besides hosting. Moving to TinaCloud later still works, because content stays files in content/.