Deploy a site
Deploy a built static site, a Node.js or a Python app with vantuly deploy.
See your servers:
vantuly serversBuild the site and deploy its output folder:
npm run buildvantuly deploy distCreating a static site on web-1 ...Packing dist ...Uploading 42 files (1.3 MB) ...Deploying ...https://my-blog.vantuly.siteThe first deploy
Section titled “The first deploy”The first deploy of a folder creates a site:
- On the team’s only ready server. With more than one, pass
--server NAME(a name or ID). - On a free
https://NAME.vantuly.siteaddress. NAME comes from the folder; fordist,build,out,public,_siteandsiteit is the project folder’s name.--name shopgivesshop.vantuly.site. If the name is taken, another free one is picked: the URL printed at the end is the address. - Or on your own domain with
--domain example.com.
It also writes .vantuly/project.json in the folder you run the command from (with a .gitignore, so it is not committed). Later deploys from that folder update the same site, without --server:
vantuly deploy dist--site ID deploys to any site of the team. --no-wait returns once the upload is done.
What gets deployed
Section titled “What gets deployed”- A built static site: a folder with
index.htmlat the top. Astro, Vite, SvelteKit (adapter-static), Gatsby, Eleventy and VitePress projects must be built first. The CLI never runs your build; it tells you which folder to pass:dist(Astro, Vite),build(SvelteKit),public(Gatsby),_site(Eleventy),.vitepress/dist(VitePress). Next.js is supported only as a static export (output: "export", thenvantuly deploy out). - Node.js and Python apps deploy as source and are built on the server: a
package.jsonproject runsnpm ci && npm run build; arequirements.txtorpyproject.tomlproject is installed with uv. See Node.js and Python. - The type is detected.
--type static|node|astro|pythonsets it.
Each deploy is a new release. The switch is atomic, and when a build fails the live site keeps running.
What is left out
Section titled “What is left out”Never uploaded: .git, node_modules, .vantuly, .env files (.env.example and the like stay) and Finder files. Add more in .vantulyignore, one pattern per line, # for comments:
# a name matches at any depth*.log# a pattern with / matches from the topdocs/drafts# a trailing / matches folders onlytmp/There is no ! negation. Links and special files are refused. The upload may be at most 200 MB.
Set secrets as environment variables instead of shipping .env files: see commands.
Pricing · Terms of Service · Privacy · Refund Policy · support@vantuly.com