Guides
Static HTML site
Publish plain HTML/CSS/JS with no build — output folder, how URLs resolve, and common failures.
Create the app
- Apps → New app, pick the repository. With no package.json and an index.html at the root, detection suggests “Static site (Static HTML)” and serves the repo root. With no root index.html but a public/ folder, it suggests public.
- Choose Static Website. No server runs; files are served over HTTPS.
Repo layout & settings
Repo
index.html
about.html
css/style.css
js/main.js
images/logo.pngSettings → Build configuration
Install command: (empty)
Build command: (empty)
Output directory: (empty = repo root) # or public, site, … — the folder with index.html- If the repo has a package.json with a build script and you leave all build settings empty, Shipyard detects the framework and builds with its defaults (the build log says which). Set the fields yourself to override that.
How URLs resolve
- A request for a file that exists returns it. Anything else returns your root index.html, with status 200.
There are no “clean URLs”: /about doesn’t look for about.html, and /blog/ doesn’t look for blog/index.html — both return the root index.html. Link to the file itself: /about.html, /blog/index.html.
- Hidden files and folders (.env, .git, anything starting with a dot) are never published. .well-known/ is the one exception.
- There’s no backend: a form that POSTs to the site gets a 404. Post to an external form service or your own API.
Common failures
- “Build output folder … wasn’t found” — the Output directory names a folder that isn’t in the repo. Clear it to serve the root, or fix the name.
- “Warning: no index.html in the output directory” in the build log, then / returns 404 — index.html isn’t in the folder being served. Point the Output directory at the folder that has it.
- Old content after a deploy — static files are served with a 60-second cache, so a hard refresh (or a minute) shows the new release.

