Deploy SvelteKit (static adapter)
SvelteKit with adapter-static builds into build/. Tuqo builds and publishes the site over HTTPS. For static sites; SSR does not run.
build/ · Node 20 · free SSL Add adapter-static
Use @sveltejs/adapter-static, and SvelteKit builds the site into build/.
Build on Node 20
npm ci && npm run build, with the output taken from build/.
Published over HTTPS
The site is on a subdomain right away, free SSL, a custom domain from the Start plan.
# build locally and upload, or upload the sources and let Tuqo build them
npm ci && npm run build # output in build/
# pack the output (index.html must be at the root of the archive)
tar -czf site.tar.gz -C build .
# deploy over REST (or from the panel, or from an AI agent over MCP)
SITE=<site_id> # from the panel or list_sites
curl -X POST https://api.tuqo.ru/api/v1/sites/$SITE/deploys \
-H "Authorization: Bearer tqk_xxx_yyy" \
-H "Content-Type: application/gzip" \
--data-binary @site.tar.gz
The command line is not the only way: in the panel you can simply drag the site folder
in, and instead of .tar.gz a
.zip works too — Tuqo detects the archive
format by itself.
Deploying SvelteKit — frequently asked questions
Is SvelteKit SSR supported? +
No, only the static mode (adapter-static). Server routes do not run.
What is the output folder? +
With adapter-static, build/. Tuqo takes the output from there.
Can I roll back? +
Yes, on paid plans: they keep several versions, and you can go back to an earlier build in one click. Free keeps only the current one.