diff options
author | vjeantet <valere.jeantet@gmail.com> | 2020-07-26 02:23:47 +0300 |
---|---|---|
committer | vjeantet <valere.jeantet@gmail.com> | 2020-07-26 02:23:47 +0300 |
commit | c8237eb8d09d542945470b74aed9d0bdf2179335 (patch) | |
tree | e4d805ded28b8904b0adf8157c118ddd639aa1e3 /netlify.toml | |
parent | 63a2ebfd82e9b2cf03be034497728dc2ea31b231 (diff) |
netlify
Diffstat (limited to 'netlify.toml')
-rw-r--r-- | netlify.toml | 11 |
1 files changed, 9 insertions, 2 deletions
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" |