From 8d6ae39cf4ae4a999305229d23d9660bd6ec851a Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Tue, 24 Aug 2021 17:35:26 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20Netlify=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- netlify.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 00000000..0542f903 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,15 @@ +[build] + base = "exampleSite" + command = "hugo --minify" + publish = "exampleSite/public" + +[build.environment] +HUGO_VERSION = "0.86.1" +HUGO_THEMESDIR = "../.." +HUGO_THEME = "repo" + +[context.production.environment] +HUGO_BASEURL = "$URL" + +[context.deploy-preview.environment] +HUGO_BASEURL = "$DEPLOY_PRIME_URL"