Maybe the netlify.toml file must be top-level?

This commit is contained in:
Simon Binder
2019-08-17 21:31:30 +02:00
parent 6d209cbe99
commit 4ca7e18027
2 changed files with 12 additions and 5 deletions
+12
View File
@@ -0,0 +1,12 @@
# We use netlify to deploy the documentation.
[build]
base = "docs/"
publish = "docs/public"
command = 'git submodule update --init --recursive && HUGO_ENV="production" hugo'
[[redirects]]
from = "https://moor.netlify.com/*"
to = "https://moor.simonbinder.eu/:splat"
status = 301
force = true