HUGO-DEPLOY(1)

πŸ’– HUGO-DEPLOY(1) πŸ’–

okay bestie, welcome to the Hugo Manual page for hugo-deploy ✨ this is the one that sends your whole project off to a cloud provider, and honestly? it's giving main character energy πŸŽ€


✨ NAME ✨

hugo-deploy β€” Deploy your project to a cloud provider πŸ¦‹


🌸 SYNOPSIS 🌸

hugo deploy [flags] [args]

πŸ’… DESCRIPTION πŸ’…

Deploy your project to a cloud provider. periodt. πŸ’β€β™€οΈ

lowkey if you want the detailed documentation (and you know you do), it's literally right here, no cap:

https://gohugo.io/hosting-and-deployment/hugo-deploy/

like, go read it bestie, it's iconic πŸ”₯


πŸŽ€ OPTIONS πŸŽ€

  • --confirm[=false] β€” asks for confirmation before making changes to the target πŸ™ˆ like a little "u sure bestie?" before it touches anything
  • --dryRun[=false] β€” dry run πŸ’€ it does the whole thing without actually committing, vibe check only
  • --force[=false] β€” force upload of all files πŸ‘‘ no skipping, everything goes up
  • -h, --help[=false] β€” help for deploy 🫢 the classic "what does this even do" button
  • --invalidateCDN[=true] β€” invalidate the CDN cache listed in the deployment target ⭐ defaults to true, so it's doing this unless you say otherwise
  • --maxDeletes=256 β€” maximum # of files to delete, or -1 to disable 🌈 (yes, literally -1 turns the limit off entirely)
  • --target="" β€” target deployment from the deployments section in the config file; defaults to the first one 🎯 empty string means "just pick the first one bestie"
  • --workers=10 β€” number of workers to transfer files. defaults to 10 🧚 multitasking queen behavior

πŸ’œ OPTIONS INHERITED FROM PARENT COMMANDS πŸ’œ

these come from the parent command, and they're all super useful so don't skip them:

  • --clock="" β€” set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00 ⏰ time travel fr fr
  • --config="" β€” config file (default is hugo.yaml|json|toml) πŸ“„
  • --configDir="config" β€” config dir πŸ“ defaults to config, cute
  • -d, --destination="" β€” filesystem path to write files to πŸ—‚οΈ
  • -e, --environment="" β€” build environment 🌍
  • --ignoreVendorPaths="" β€” ignores any _vendor for module paths matching the given Glob pattern πŸ™…β€β™€οΈ like "not me dealing with vendor stuff"
  • --logLevel="" β€” log level (debug|info|warn|error) πŸ“Š pick your vibe
  • --noBuildLock[=false] β€” don't create .hugo_build.lock file πŸ”“ no lock file, living dangerously
  • --quiet[=false] β€” build in quiet mode 🀫 shhh
  • -M, --renderToMemory[=false] β€” render to memory (mostly useful when running the server) 🧠 in your brain, literally
  • -s, --source="" β€” filesystem path to read files relative from πŸ“‚
  • --themesDir="" β€” filesystem path to themes directory 🎨

🌈 SEE ALSO 🌈

  • hugo(1) β€” the main character herself πŸ‘‘

okay that's the whole page bestie, you ate that πŸ’…βœ¨

sign-off vibes: this is from Hugo 0.169.0, dated Oct 2026 β€” so yes, we're literally in the future and it's still iconic πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from