Add netlify config

pull/4516/head
Thomas Stromberg 2019-06-18 11:59:05 +08:00
parent a56b3b5764
commit 361ff8d0b9
1 changed files with 17 additions and 0 deletions

17
netlify.toml Normal file
View File

@ -0,0 +1,17 @@
[build]
base = "site/"
publish = "site/public/"
command = "hugo"
[build.environment]
HUGO_VERSION = "0.55"
[context.production.environment]
HUGO_ENV = "production"
HUGO_BASEURL = "https://minikube.sigs.k8s.io/"
[context.deploy-preview]
command = "hugo --enableGitInfo --buildFuture -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "hugo --enableGitInfo --buildFuture -b $DEPLOY_PRIME_URL"