Static by default
How to publish an Astro site
Astro is static by default, so the build output is ready to publish with no adapter and no server.
Choosing a host rather than a command? Astro Hosting covers what it costs and what does not work here.
- Build command
- npm run build
- Folder to upload
- dist
Free plan, free SSL, no credit card.
-
Build the project
Run npm run build in the project folder. This is the step Droply does not do for you: we publish finished pages, we never run your build.
-
Find the output folder
The build writes a finished site to dist. That folder, not the project folder, is what gets uploaded.
-
Drag it in
Drop the folder (or a ZIP of it) into Droply. It is live on an HTTPS droply.id subdomain in seconds, and re-uploading publishes a new version at the same URL.
Worth knowing about Astro
This applies to the default static output. If you have added an SSR adapter (node, vercel, netlify), the build produces a server instead and there is nothing static to upload.
Did an AI tool build this project?
Hosting an AI-generated website covers the question that comes before the build command: whether what you are holding is a single file or a project, and which of the two every tool actually hands back.