Add netlify.toml

This commit is contained in:
Track3 2019-06-19 15:05:36 +08:00
parent 41f77a9dc1
commit c05698cf6d

13
netlify.toml Normal file
View file

@ -0,0 +1,13 @@
[build]
base = "exampleSite"
command = "hugo --gc --themesDir ../.. -b $URL"
publish = "exampleSite/public"
[build.environment]
HUGO_THEME = "repo"
[context.deploy-preview]
command = "hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL"