Update netlify.toml

This commit is contained in:
Guru Sabarish
2022-02-05 10:46:29 +05:30
committed by GitHub
parent e31444f76b
commit 864259fa6f
+5 -5
View File
@@ -1,6 +1,6 @@
[build] [build]
publish = "website/public" publish = "exampleSite/public"
command = "cd website && hugo --gc --minify --themesDir ../.." command = "cd exampleSite && hugo --gc --minify --themesDir ../.."
[context.production.environment] [context.production.environment]
HUGO_VERSION = "0.76.5" HUGO_VERSION = "0.76.5"
@@ -9,7 +9,7 @@ HUGO_ENABLEGITINFO = "true"
HUGO_THEME = "repo" HUGO_THEME = "repo"
[context.split1] [context.split1]
command = "cd website && hugo --gc --minify --enableGitInfo --themesDir ../.." command = "cd exampleSite && hugo --gc --minify --enableGitInfo --themesDir ../.."
[context.split1.environment] [context.split1.environment]
HUGO_VERSION = "0.76.5" HUGO_VERSION = "0.76.5"
@@ -17,14 +17,14 @@ HUGO_ENV = "production"
HUGO_THEME = "repo" HUGO_THEME = "repo"
[context.deploy-preview] [context.deploy-preview]
command = "cd website && hugo --gc --minify --buildFuture --themesDir ../.. -b $DEPLOY_PRIME_URL" command = "cd exampleSite && hugo --gc --minify --buildFuture --themesDir ../.. -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment] [context.deploy-preview.environment]
HUGO_VERSION = "0.76.5" HUGO_VERSION = "0.76.5"
HUGO_THEME = "repo" HUGO_THEME = "repo"
[context.branch-deploy] [context.branch-deploy]
command = "cd website && hugo --gc --minify --themesDir ../.. -b $DEPLOY_PRIME_URL" command = "cd exampleSite && hugo --gc --minify --themesDir ../.. -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment] [context.branch-deploy.environment]
HUGO_VERSION = "0.76.5" HUGO_VERSION = "0.76.5"