Skip to content

Commit

Permalink
Fix Netlify setup
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Nov 7, 2019
1 parent 0a7a440 commit 3663e83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[build]
publish = "public"
command = "hugo --gc"
publish = "exampleSite/public"
command = "hugo --gc -s exampleSite --minify"

[context.production.environment]
HUGO_VERSION = "0.59.1"

[context.deploy-preview]
command = "hugo -D -F -b $DEPLOY_PRIME_URL"
command = "hugo -s exampleSite -D -F -b $DEPLOY_PRIME_URL"

[context.deploy-preview.environment]
HUGO_VERSION = "0.59.1"

[context.branch-deploy]
command = "hugo --gc -b $DEPLOY_PRIME_URL"
command = "hugo -s exampleSite --gc -b $DEPLOY_PRIME_URL"

[context.branch-deploy.environment]
HUGO_VERSION = "0.59.1"
Expand Down

0 comments on commit 3663e83

Please sign in to comment.