Add netlify.toml

This commit is contained in:
Track3 2019-06-19 15:05:36 +08:00
parent 41f77a9dc1
commit c05698cf6d
1 changed files with 13 additions and 0 deletions

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"