Skip to content

Commit

Permalink
Add Netlify config
Browse files Browse the repository at this point in the history
Fixes #36
  • Loading branch information
bep committed Nov 7, 2019
1 parent 0ebea4c commit 0a7a440
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[build]
publish = "public"
command = "hugo --gc"

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

[context.deploy-preview]
command = "hugo -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"

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


0 comments on commit 0a7a440

Please sign in to comment.