drift/netlify.toml

18 lines
449 B
TOML
Raw Normal View History

# We use netlify to deploy the documentation.
[build]
base = "docs"
publish = "docs/public"
2020-09-24 10:57:11 -07:00
command = 'git submodule update --init --recursive && npm i && hugo'
[[redirects]]
from = "https://moor.netlify.com/*"
to = "https://moor.simonbinder.eu/:splat"
status = 301
force = true
[context.production]
2020-09-24 10:55:25 -07:00
environment = { HUGO_ENV="production", HUGO_VERSION="0.74.3" }
[context.deploy-preview]
environment = { HUGO_VERSION="0.74.3" }