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:
authorpeaceiris <30958501+peaceiris@users.noreply.github.com>2020-02-20 09:29:58 +0300
committerpeaceiris <30958501+peaceiris@users.noreply.github.com>2020-02-20 09:29:58 +0300
commitb40ee47ba6a482672e34a6d6ba8efc16bc5612d5 (patch)
tree367dc7f741672cc678e00d4a3cf67caaf918f150 /netlify.toml
parent6c975f8bcfd63f3964d3f8b97273d66e75f7f215 (diff)
ci: Fix production deployment
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"