netlify build fix
This commit is contained in:
+4
-4
@@ -3,7 +3,7 @@ publish = "exampleSite/public"
|
||||
command = "cd exampleSite && hugo --gc --minify --themesDir ../.."
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_VERSION = "0.76.5"
|
||||
HUGO_VERSION = "0.92.0"
|
||||
HUGO_ENV = "production"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
HUGO_THEME = "repo"
|
||||
@@ -12,7 +12,7 @@ HUGO_THEME = "repo"
|
||||
command = "cd exampleSite && hugo --gc --minify --enableGitInfo --themesDir ../.."
|
||||
|
||||
[context.split1.environment]
|
||||
HUGO_VERSION = "0.76.5"
|
||||
HUGO_VERSION = "0.92.0"
|
||||
HUGO_ENV = "production"
|
||||
HUGO_THEME = "repo"
|
||||
|
||||
@@ -20,14 +20,14 @@ HUGO_THEME = "repo"
|
||||
command = "cd exampleSite && hugo --gc --minify --buildFuture --themesDir ../.. -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_VERSION = "0.76.5"
|
||||
HUGO_VERSION = "0.92.0"
|
||||
HUGO_THEME = "repo"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "cd exampleSite && hugo --gc --minify --themesDir ../.. -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.branch-deploy.environment]
|
||||
HUGO_VERSION = "0.76.5"
|
||||
HUGO_VERSION = "0.92.0"
|
||||
|
||||
[context.next.environment]
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
Reference in New Issue
Block a user