Deployment

Hyas is optimized for deployment on Netlify.

Netlify#

See the Hugo Doks: Host on Netlify

netlify.toml#

[build]
  publish = "public/"
  command = "yarn build"
  functions = "functions/"

[build.environment]
  HUGO_VERSION = "0.69.0"
  NODE_VERSION = "13.11.0"
  NPM_VERSION = "6.13.7"
  YARN_VERSION = "1.22.4"

[context.deploy-preview]
  command = "yarn build:preview"

[context.branch-deploy]
  command = "yarn build"

Check Netlify Docs on config vars

Other hosting options#

See the Hugo Doks: Hosting & Deployment