add netlify config
This commit is contained in:
parent
fd6a2df136
commit
18945c4bd5
15
netlify.toml
Normal file
15
netlify.toml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[build]
|
||||||
|
publish = "exampleSiteMultilingual/public"
|
||||||
|
command = "cd exampleSiteMultilingual && hugo --themesDir=../.. --baseURL $URL"
|
||||||
|
|
||||||
|
[build.environment]
|
||||||
|
HUGO_VERSION = "0.89.0"
|
||||||
|
HUGO_THEME = "repo"
|
||||||
|
|
||||||
|
[context.deploy-preview]
|
||||||
|
command = "cd exampleSiteMultilingual && hugo --themesDir=../.. --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
|
[[headers]]
|
||||||
|
for = "/*"
|
||||||
|
[headers.values]
|
||||||
|
Access-Control-Allow-Origin = "*"
|
Loading…
Reference in New Issue
Block a user