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

github.com/peaceiris/hugo-theme-iris.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml20
1 files changed, 10 insertions, 10 deletions
diff --git a/netlify.toml b/netlify.toml
index b3971f3c..22ff839b 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -1,16 +1,16 @@
[build]
-publish = "public"
-command = "npm run build:netlify"
+publish = "exampleSite/public"
+command = "cd ./exampleSite && hugo --gc --minify --themesDir ../ --layoutDir ../layouts --baseURL 'https://hugothemeiris.peaceiris.app/'"
-# [context.production.environment]
-# HUGO_VERSION = ""
+[context.production.environment]
+HUGO_VERSION = "0.64.1"
-[context.deploy-preview]
-command = "npm run build -- -b $DEPLOY_PRIME_URL --environment staging"
+# [context.deploy-preview]
+# command = "npm run build -- -b $DEPLOY_PRIME_URL --environment staging"
# [context.deploy-preview.environment]
-# HUGO_VERSION = ""
+# HUGO_VERSION = "0.64.1"
-[context.branch-deploy]
-command = "npm run build -- -b $DEPLOY_PRIME_URL"
+# [context.branch-deploy]
+# command = "npm run build -- -b $DEPLOY_PRIME_URL"
# [context.branch-deploy.environment]
-# HUGO_VERSION = ""
+# HUGO_VERSION = "0.64.1"