Permalink
Browse files

Added more configurations in the netlify.toml file

  • Loading branch information...
jmziya committed Mar 7, 2018
1 parent d206575 commit 5cdf6208bc656061a83f4a7ab9c025d36307a631
Showing with 30 additions and 1 deletion.
  1. +30 −1 netlify.toml
@@ -1,2 +1,31 @@
[build]
publish = "public"
command = "hugo"

[context.production.environment]
HUGO_VERSION = "0.37"
HUGO_VERSION = "0.37"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"

[context.split1]
command = "hugo --enableGitInfo"

[context.split1.environment]
HUGO_VERSION = "0.37"
HUGO_ENV = "production"

[context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL"

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

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

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

[context.next.environment]
HUGO_ENABLEGITINFO = "true"

0 comments on commit 5cdf620

Please sign in to comment.