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

github.com/gohugoio/hugo-mod-bootstrap-scss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-01-11 16:19:15 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-01-11 16:19:15 +0300
commit7d50b73b39592a4f421552cfbe4dd8afd3548168 (patch)
treede787b5df59481824d2011f8e6c9dd9ff68c754f
parentd39dff61dd17fd348a96b7a642f982382ee9fc91 (diff)
Add Netlify build config
-rw-r--r--netlify.toml20
1 files changed, 20 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml
new file mode 100644
index 0000000..8a79964
--- /dev/null
+++ b/netlify.toml
@@ -0,0 +1,20 @@
+[build]
+publish = "exampleSite/public"
+command = "hugo --gc -s exampleSite --minify"
+
+[context.production.environment]
+HUGO_VERSION = "0.91.1"
+
+[context.deploy-preview]
+command = "hugo -s exampleSite --minify -D -F -b $DEPLOY_PRIME_URL"
+
+[context.deploy-preview.environment]
+HUGO_VERSION = "0.91.1"
+
+[context.branch-deploy]
+command = "hugo -s exampleSite --minify --gc -b $DEPLOY_PRIME_URL"
+
+[context.branch-deploy.environment]
+HUGO_VERSION = "0.91.1"
+
+