👷 Update Netlify build commands

pull/2/head
James Panther 2021-08-25 16:04:43 +10:00
parent 7c18ea28b4
commit 97e4008329
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
1 changed files with 3 additions and 3 deletions

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"