Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvjeantet <valere.jeantet@gmail.com>2020-07-26 02:23:47 +0300
committervjeantet <valere.jeantet@gmail.com>2020-07-26 02:23:47 +0300
commitc8237eb8d09d542945470b74aed9d0bdf2179335 (patch)
treee4d805ded28b8904b0adf8157c118ddd639aa1e3 /netlify.toml
parent63a2ebfd82e9b2cf03be034497728dc2ea31b231 (diff)
netlify
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml11
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"