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

github.com/mrmierzejewski/hugo-theme-console.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Mierzejewski <363651+mrmierzejewski@users.noreply.github.com>2020-10-09 12:27:55 +0300
committerGitHub <noreply@github.com>2020-10-09 12:27:55 +0300
commit9bbb8e552be88102df0523f536844f051aa07385 (patch)
tree8129175307324b440f1d0f7cb14ac24f3693b4a8
parentd1daf7c33a4686242d82f3698fc4dec0d0f65894 (diff)
netlify: add base directory
-rw-r--r--netlify.toml9
1 files changed, 5 insertions, 4 deletions
diff --git a/netlify.toml b/netlify.toml
index 7107802..7f27f71 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -1,6 +1,7 @@
[build]
+base = "exampleSite"
publish = "public"
-command = "hugo --gc --minify"
+command = "hugo --gc --minify --themesDir ../../ -t hugo-theme-console"
[context.production.environment]
HUGO_VERSION = "0.76.3"
@@ -8,20 +9,20 @@ HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.split1]
-command = "hugo --gc --minify --enableGitInfo"
+command = "hugo --gc --minify --enableGitInfo --themesDir ../../ -t hugo-theme-console"
[context.split1.environment]
HUGO_VERSION = "0.76.3"
HUGO_ENV = "production"
[context.deploy-preview]
-command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
+command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL --themesDir ../../ -t hugo-theme-console"
[context.deploy-preview.environment]
HUGO_VERSION = "0.76.3"
[context.branch-deploy]
-command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
+command = "hugo --gc --minify -b $DEPLOY_PRIME_URL --themesDir ../../ -t hugo-theme-console"
[context.branch-deploy.environment]
HUGO_VERSION = "0.76.3"