Deploys and versions
What a deploy uploads, how app names and addresses work, and how versions and rollback keep you safe.
What an app is
An app is a folder with an index.html at its top. Everything else in the folder, such as scripts, styles, images and fonts, is served alongside it. Shed serves the files as they are: there's no build step, and nothing runs on the server.
If your app has a build step (React, Vue, Svelte and so on), build it first and deploy the output folder, such as dist:
$ npm run build && npx shedcloud deploy dist --name standupDeploy
$ npx shedcloud deploy standup
Deployed standup v1 (3 files)
https://standup.shed.example.com/
Access: people you addThe first deploy creates the app and makes you its owner. Every later deploy of the same folder makes a new version at the same address, and the address serves the newest version straight away.
What gets uploaded
Everything in the folder and its subfolders, except:
- files and folders whose names start with
.(but.well-knownis kept) node_modules,.git,.svn,.hgand__pycache__shed.json,.DS_StoreandThumbs.dbat the top of the folder
A deploy can be up to 50 MB and 2,000 files. See Limits.
Names and addresses
The app's name is its subdomain: the standup app lives at standup.shed.example.com. The first deploy takes the name from the folder, lowercased with anything other than letters and digits turned into -. Pick another with --name:
$ npx shedcloud deploy ./build --name team-standupThe name is saved in a shed.json file in the folder, so later deploys go to the same app even if you rename the folder. Commit shed.json if others deploy the same app.
On Shed Cloud, apps on Cloud Free get a short suffix: standup is published at an address like standup-k7f2. Good names aren't first come, first served, and no free app can look like an official one. The suffix is yours: deploying standup again updates the same app, and commands such as npx shedcloud share standup find it by the name you gave it. Team apps, and self-hosted servers unless they turn it on with SHED_FREE_SUFFIX, keep the name as you asked.
shed.json also remembers the app's team, if you deployed it into one with --team (see Teams). It can also hold rules, which limit who changes records in a collection: see Only authors change their records.
Deploying a build's output folder (dist, build, out, _site or www, next to a package.json) works the same, except that shed.json goes in the project folder above it, since every build wipes the output folder, and the app is named after the project rather than dist.
Names are 1 to 40 lowercase letters, digits or dashes, and can't start or end with a dash. Some are reserved for Shed itself or for names that could pass for it, such as www, api, admin, login, docs, help, support, status, security, mail and shed; Shed says so if you pick one. An app that already had a name before it was reserved keeps it and still deploys.
How files are served
/servesindex.html, and a folder path serves theindex.htmlinside it.- A path with no file extension that doesn't match a file serves the top
index.html. That makes client-side routers work (/settings,/items/42). - Files are sent with
Cache-Control: no-cache, so people get a new version on their next load. - Everything under
/_shed/belongs to Shed: the SDK, the kit, sign-in and the data API. Don't put your own files there.
Versions and rollback
Shed keeps your last 20 deploys and deletes older ones. See them with info:
$ npx shedcloud info standup
v3* 2026-12-03T09:14:02.120Z by ana@example.com, 3 files
v2 2026-12-02T16:40:51.004Z by ana@example.com, 3 files
v1 2026-12-01T11:02:13.876Z by ana@example.com, 2 filesThe * marks the live version. Roll back to any of them:
$ npx shedcloud rollback standup v2
standup now serves v2 (was v3). Data is unchanged.
Undo with: npx shedcloud rollback standup 3Owners can do the same from the dashboard: open Manage and choose Restore next to a version.
Rollback changes code, never data. Records written by v3 stay when v2 is live, so keep new versions able to read old records, and old versions tolerant of fields they don't know.
Delete an app
$ npx shedcloud rm standup --yesThis deletes the app, every version and all of its data, and frees the name. Only the person who created the app can delete it. There is no undo.