summary refs log tree commit diff stats
path: root/netlify.toml
diff options
context:
space:
mode:
authorAlan Pearce2018-06-06 21:22:12 +0000
committerAlan Pearce2018-06-06 21:22:12 +0000
commit31010eea7a9887ef7b243b9b3c20e62526b9df5e (patch)
treefb1232bf1e733cec1485f83b1009e843e4d462e1 /netlify.toml
parent1a9fb039e2b199a1a09d2bd6d14204775ab621af (diff)
downloadwebsite-31010eea7a9887ef7b243b9b3c20e62526b9df5e.tar.lz
website-31010eea7a9887ef7b243b9b3c20e62526b9df5e.tar.zst
website-31010eea7a9887ef7b243b9b3c20e62526b9df5e.zip
Borrow netlify.toml from hugo docs
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml
index e325c01..0b02993 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -1,3 +1,12 @@
+[build]
+  publish = "public"
+  command = "hugo"
+
+[context.production.environment]
+  HUGO_VERSION = "0.41"
+  HUGO_ENV = "production"
+  HUGO_ENABLEGITINFO = "true"
+
 [[redirects]]
   from = "https://alanpearceuk.netlify.com/*"
   to = "https://alanpearce.uk/:splat"