Add netlify.toml
This commit is contained in:
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"
|
Reference in New Issue
Block a user