Add netlify.toml
This commit is contained in:
parent
41f77a9dc1
commit
c05698cf6d
1 changed files with 13 additions and 0 deletions
13
netlify.toml
Normal file
13
netlify.toml
Normal 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"
|
Loading…
Reference in a new issue