From a953b828161d6ccebfceabc47653349b0562ec9d Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Sun, 28 Sep 2025 09:35:02 +0700 Subject: [PATCH] Add Netlify deployment configuration Introduces netlify.toml to specify build environment versions, timezone, publish directory, and custom build command for Hugo site deployment. --- netlify.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..2f0a259 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,13 @@ +[build.environment] +DART_SASS_VERSION = "1.83.0" +GO_VERSION = "1.23.4" +HUGO_VERSION = "0.140.2" +NODE_VERSION = "22.12.0" +TZ = "Asia/Ho_Chi_Minh" + +[build] +publish = "public" +command = """\ + git config core.quotepath false && \ + hugo --gc --minify --baseURL "${URL}" + """