fetch git history before hugo build
All checks were successful
ci/woodpecker/pr/docs Pipeline was successful

This commit is contained in:
Robert Kaussow 2023-12-22 10:29:53 +01:00
parent 7beff8b893
commit ef07f7bff2
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -42,6 +42,9 @@ steps:
- name: build - name: build
image: quay.io/thegeeklab/hugo:0.115.2 image: quay.io/thegeeklab/hugo:0.115.2
commands: commands:
# Fetch is used to get the full git history.
# Required for Hugos git metadata integration.
- git fetch --depth=2147483647
- hugo --panicOnWarning - hugo --panicOnWarning
- name: beautify - name: beautify