From c8237eb8d09d542945470b74aed9d0bdf2179335 Mon Sep 17 00:00:00 2001 From: vjeantet Date: Sun, 26 Jul 2020 01:23:47 +0200 Subject: netlify --- netlify.toml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'netlify.toml') diff --git a/netlify.toml b/netlify.toml index 6b75bd7..ac67b15 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,7 +1,14 @@ +[build] +publish = "public" + [build] publish = "exampleSite/public" - command = '''hugo -s exampleSite --config "exampleSite/config.toml" \ -&& hugo -s exampleSite --config "exampleSite/config.toml,exampleSite/config-original.toml"''' + command = "hugo -gc --minify -s exampleSite --config \"exampleSite/config.toml\"" + +[context.production.environment] +HUGO_VERSION = "0.74.3" +HUGO_ENV = "production" + [build.environment] HUGO_THEME = "repo" -- cgit v1.2.3