From 351d038377866cd646492d0bd0a593db8e1b35d3 Mon Sep 17 00:00:00 2001 From: shockerli Date: Wed, 1 Nov 2023 16:23:14 +0800 Subject: [PATCH] add netlify config --- doc/netlify.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/netlify.toml diff --git a/doc/netlify.toml b/doc/netlify.toml new file mode 100644 index 0000000..46aa6ab --- /dev/null +++ b/doc/netlify.toml @@ -0,0 +1,9 @@ +[build] +publish = "public" +command = "hugo --gc --minify" + +[context.deploy-preview.environment] +HUGO_VERSION = "0.101.0" + +[context.production.environment] +HUGO_VERSION = "0.101.0"