From 49e1e01c6df2568d7561933ab4f5acb6fadfd723 Mon Sep 17 00:00:00 2001 From: Xin Date: Mon, 28 Aug 2023 21:33:54 +0100 Subject: [PATCH] chore: add netlify.toml --- netlify.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 00000000..72ef5d29 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,10 @@ +[build] +publish = "exampleSite/public" +command = "cd exampleSite && hugo --gc --minify --themesDir ../.. -b ${DEPLOY_PRIME_URL}" + +# Always trigger a rebuild, even if the files haven't changed. +# See https://docs.netlify.com/configure-builds/file-based-configuration/#ignore-builds +ignore = "false" + +[build.environment] +HUGO_VERSION = "0.117.0"