diff options
author | Marcin Mierzejewski <363651+mrmierzejewski@users.noreply.github.com> | 2020-10-09 12:27:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-09 12:27:55 +0300 |
commit | 9bbb8e552be88102df0523f536844f051aa07385 (patch) | |
tree | 8129175307324b440f1d0f7cb14ac24f3693b4a8 | |
parent | d1daf7c33a4686242d82f3698fc4dec0d0f65894 (diff) |
netlify: add base directory
-rw-r--r-- | netlify.toml | 9 |
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" |