From 10a6581b7e1535c671d713e7cd50a2e307d79c52 Mon Sep 17 00:00:00 2001 From: Chandu Paladugu <59978378+devopstoday11@users.noreply.github.com> Date: Fri, 20 Sep 2024 01:47:59 -0500 Subject: [PATCH 1/4] added netlify build timeout as temporary workaround for netlify build failure Signed-off-by: Chandu Paladugu <59978378+devopstoday11@users.noreply.github.com> --- netlify.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 52e01d3b..b95bda35 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,7 @@ [build] publish = "public" command = "yarn build -b $URL" + timeout = 120 [build.environment] HUGO_VERSION = "0.127.0" @@ -65,4 +66,4 @@ from = "intelops.ai" to = "https://capten.ai/" status = 301 - force = true \ No newline at end of file + force = true From df9e74cbca87922a59050081806f757d3c2c615e Mon Sep 17 00:00:00 2001 From: Chandu Paladugu <59978378+devopstoday11@users.noreply.github.com> Date: Fri, 20 Sep 2024 02:03:20 -0500 Subject: [PATCH 2/4] increased timeout Signed-off-by: Chandu Paladugu <59978378+devopstoday11@users.noreply.github.com> --- netlify.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index b95bda35..05d3e4f3 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,7 +1,7 @@ [build] publish = "public" - command = "yarn build -b $URL" - timeout = 120 + command = "yarn build -b $URL && hugo --verbose --debug --timeout=120s --log" + timeout = 180 [build.environment] HUGO_VERSION = "0.127.0" From 47b43963c0fcc5133c97b5501deba748d5122b7d Mon Sep 17 00:00:00 2001 From: tfsumon Date: Mon, 23 Sep 2024 13:37:54 +0600 Subject: [PATCH 3/4] fix(build): fixing recursion error --- hugo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugo.toml b/hugo.toml index 39e8e82d..d6256e42 100644 --- a/hugo.toml +++ b/hugo.toml @@ -8,7 +8,7 @@ theme = "delta" # Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List timeZone = "America/New_York" # post pagination -paginate = 6 # see https://gohugo.io/extras/pagination/ +pagination.pagerSize = 6 # see https://gohugo.io/extras/pagination/ # post excerpt summaryLength = 10 # see https://gohugo.io/content-management/excerpts/ # disable language @@ -17,7 +17,7 @@ disableLanguages = [ ] # example: ["fr"] for disable french language. see https://gohugo.io/content-management/multilingual/ hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage enableGitInfo = true # show last update time of post - +timeout = "120s" ########################### Services ############################# [services] From 2ea8b6cbfe2369db364e53d8586a795aaae65a7a Mon Sep 17 00:00:00 2001 From: Chandu Paladugu <59978378+devopstoday11@users.noreply.github.com> Date: Fri, 27 Sep 2024 11:22:10 -0500 Subject: [PATCH 4/4] Update netlify.toml to be same as original main branch content Signed-off-by: Chandu Paladugu <59978378+devopstoday11@users.noreply.github.com> --- netlify.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 05d3e4f3..7d7ff73f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,7 +1,6 @@ [build] publish = "public" - command = "yarn build -b $URL && hugo --verbose --debug --timeout=120s --log" - timeout = 180 + command = "yarn build -b $URL" [build.environment] HUGO_VERSION = "0.127.0"