From 2c25718040ea929aacb03fc964ea7e609ccaa18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 16 Jul 2017 23:06:32 +0200 Subject: [PATCH] Add production config --- config.toml | 2 +- netlify.toml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 15898c52d..6ca6c3e05 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseurl = "http://gohugo.io/" +baseURL = "https://gohugo.io/" paginate = 100 defaultContentLanguage = "en" enableEmoji = true diff --git a/netlify.toml b/netlify.toml index f8f124b12..a71e2441a 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,12 @@ +[build] + publish = "public" + command = "hugo" + +[context.production.environment] + HUGO_VERSION = "0.25.1" + HUGO_ENV = "production" + HUGO_ENABLEGITINFO = "true" + [context.next.environment] HUGO_VERSION = "0.25.1" HUGO_ENV = "development"