From ef07f7bff20de9b1ffb37db72aba215421674f7c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 22 Dec 2023 10:29:53 +0100 Subject: [PATCH] fetch git history before hugo build --- .woodpecker/docs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index de2e826..d963c66 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -42,6 +42,9 @@ steps: - name: build image: quay.io/thegeeklab/hugo:0.115.2 commands: + # Fetch is used to get the full git history. + # Required for Hugos git metadata integration. + - git fetch --depth=2147483647 - hugo --panicOnWarning - name: beautify -- 2.45.2