Static by default
How to publish a Hugo site
Hugo builds a whole site in one command with no Node toolchain involved. The output is finished HTML, which is exactly what gets served here.
- Build command
- hugo
- Folder to upload
- public
Free plan, free SSL, no credit card.
-
Build the project
Run hugo 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 public. 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 Hugo
The build command is just
hugo.hugo serveris the local preview and writes nothing to disk, which is why people go looking for apublicfolder that was never created.Set
baseURLin your config to the address the site will actually live at. Hugo writes it into canonical tags, feeds and sitemaps, so a leftover localhost value publishes fine and then points every crawler at your laptop.Content dated in the future, or marked
draft: true, is left out of a normal build. If a page is missing after publishing, check that before you check the upload.hugo --minifyis worth running for a public site. It changes nothing about how you publish it.
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.