From 18945c4bd538d6c676ce14bbed6dcc7f3442ea78 Mon Sep 17 00:00:00 2001 From: Dmitry Kolosov Date: Tue, 2 Nov 2021 18:26:27 +0300 Subject: [PATCH] add netlify config --- netlify.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..06db190 --- /dev/null +++ b/netlify.toml @@ -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 = "*" \ No newline at end of file