From 5c3ee289b1166a4e9af65745223db23f39716e04 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Wed, 29 Oct 2025 17:05:54 +0000
Subject: [PATCH] update module
---
exampleSite/go.mod | 2 +-
exampleSite/netlify.toml | 48 +++++++++---------------------------------------
exampleSite/go.sum | 2 ++
3 files changed, 12 insertions(+), 40 deletions(-)
diff --git a/exampleSite/go.mod b/exampleSite/go.mod
index d63f692..b6fc879 100644
--- a/exampleSite/go.mod
+++ b/exampleSite/go.mod
@@ -2,4 +2,4 @@
go 1.19
-require github.com/onweru/compose v0.0.0-20250714145104-fc84589bf672 // indirect
+require github.com/onweru/compose v0.0.0-20251029165840-c32a7af9c88c // indirect
diff --git a/exampleSite/go.sum b/exampleSite/go.sum
index aba5e78..8b1ca8b 100644
--- a/exampleSite/go.sum
+++ b/exampleSite/go.sum
@@ -36,3 +36,5 @@
github.com/onweru/compose v0.0.0-20250603154739-3e6a31685aae/go.mod h1:2eSBLsKzvKf3r4/vHiKdakIBqDtWACDAqAD7tRdt00o=
github.com/onweru/compose v0.0.0-20250714145104-fc84589bf672 h1:GzNwDnK2rv4vh6QpentZKbkqPtwJThPuDeAs2pdMP/4=
github.com/onweru/compose v0.0.0-20250714145104-fc84589bf672/go.mod h1:2eSBLsKzvKf3r4/vHiKdakIBqDtWACDAqAD7tRdt00o=
+github.com/onweru/compose v0.0.0-20251029165840-c32a7af9c88c h1:uWgLO81H5+wLGt7rt7eZkHWrO7LMn+wfLSyejY48cgE=
+github.com/onweru/compose v0.0.0-20251029165840-c32a7af9c88c/go.mod h1:2eSBLsKzvKf3r4/vHiKdakIBqDtWACDAqAD7tRdt00o=
diff --git a/exampleSite/netlify.toml b/exampleSite/netlify.toml
index cf1fc48..ad647c5 100644
--- a/exampleSite/netlify.toml
+++ b/exampleSite/netlify.toml
@@ -1,3 +1,11 @@
+[build.environment]
+DART_SASS_VERSION = "1.93.2"
+GO_VERSION = "1.25.3"
+HUGO_VERSION = "0.152.2"
+NODE_VERSION = "22.20.0"
+URL = "https://composedocs.netlify.app/"
+# TZ = "Europe/Oslo"
+
[build]
publish = "public"
command = """\
@@ -6,43 +14,5 @@
rm "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \
export PATH="${HOME}/.local/dart-sass:${PATH}" && \
git config core.quotepath false && \
- hugo --gc --minify --baseURL "https://composedocs.netlify.app/"
+ hugo --gc --minify --baseURL "${URL}"
"""
-# command = "hugo --gc --minify --baseURL "
-
-[context.production.environment]
-HUGO_VERSION = "0.147.2"
-GO_VERSION = "1.21.0"
-NODE_VERSION = "20.5.1"
-HUGO_ENV = "production"
-HUGO_ENABLEGITINFO = "true"
-
-[context.split1]
-command = "hugo --gc --minify --enableGitInfo"
-
-[context.split1.environment]
-GO_VERSION = "1.25.3"
-HUGO_VERSION = "0.152.2"
-NODE_VERSION = "22.20.0"
-HUGO_ENV = "production"
-DART_SASS_VERSION = "1.93.2"
-# TZ = "Europe/Oslo"
-
-[context.deploy-preview]
-command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
-
-[context.deploy-preview.environment]
-GO_VERSION = "1.25.3"
-HUGO_VERSION = "0.152.2"
-NODE_VERSION = "22.20.0"
-
-[context.branch-deploy]
-command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
-
-[context.branch-deploy.environment]
-GO_VERSION = "1.25.3"
-HUGO_VERSION = "0.152.2"
-NODE_VERSION = "22.20.0"
-
-[context.next.environment]
-HUGO_ENABLEGITINFO = "true"
--
Gitblit v1.10.0