👷 Update Netlify build commands

This commit is contained in:
James Panther
2021-08-25 16:04:43 +10:00
parent 7c18ea28b4
commit 97e4008329
+3 -3
View File
@@ -1,5 +1,5 @@
[build] [build]
command = "cd exampleSite && hugo --gc --minify -b $URL" command = "cd exampleSite && hugo --gc --minify"
publish = "exampleSite/public" publish = "exampleSite/public"
[build.environment] [build.environment]
@@ -11,13 +11,13 @@ HUGO_VERSION = "0.86.1"
HUGO_ENV = "production" HUGO_ENV = "production"
[context.deploy-preview] [context.deploy-preview]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" command = "cd exampleSite && hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment] [context.deploy-preview.environment]
HUGO_VERSION = "0.86.1" HUGO_VERSION = "0.86.1"
[context.branch-deploy] [context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" command = "cd exampleSite && hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment] [context.branch-deploy.environment]
HUGO_VERSION = "0.86.1" HUGO_VERSION = "0.86.1"