From bebd446e4ca85cee778c884a6ccd620af3df5c4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Tue, 24 Jul 2018 20:47:53 +0200 Subject: [PATCH] netlify config --- netlify.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index dff522f..2c794bd 100644 --- a/netlify.toml +++ b/netlify.toml @@ -9,4 +9,7 @@ HUGO_VERSION = "0.42" HUGO_VERSION = "0.42" [context.deploy-preview] -command = "hugo --buildDrafts --buildFuture" +command = "hugo --buildDrafts --buildFuture --baseURL $DEPLOY_PRIME_URL" + +[context.deploy-preview.environment] +HUGO_ENABLEGITINFO = "true"