From c5ad9e91e8f7fe2c79289bc898a5875f192e9036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Fri, 14 Feb 2025 14:57:44 +0000 Subject: [PATCH 1/2] Delete netlify.toml --- netlify.toml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index c07b17a4..00000000 --- a/netlify.toml +++ /dev/null @@ -1,24 +0,0 @@ -[build] - command = "cd exampleSite && hugo --gc --minify -D -b $URL" - publish = "exampleSite/public" - -[build.environment] -HUGO_THEMESDIR = "../.." -HUGO_THEME = "repo" -TZ = "Portugal/Lisbon" - -[context.production.environment] -HUGO_VERSION = "0.104.1" -HUGO_ENV = "production" - -[context.deploy-preview] -command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL" - -[context.deploy-preview.environment] -HUGO_VERSION = "0.104.1" - -[context.branch-deploy] -command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL" - -[context.branch-deploy.environment] -HUGO_VERSION = "0.104.1" \ No newline at end of file From c6fa55916e7528ece8fcb2615285724ca10f7059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Fri, 14 Feb 2025 18:06:54 +0000 Subject: [PATCH 2/2] Create netlify.toml --- netlify.toml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 00000000..7ac74209 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,8 @@ +[build] + command = "cd exampleSite && hugo --gc --minify -D -b https://blowfish.page" + publish = "exampleSite/public" + +[build.environment] +HUGO_VERSION = "0.142.0" +HUGO_THEMESDIR = "../.." +HUGO_THEME = "repo"