fetch git history before hugo build (#279)
Reviewed-on: #279 Co-authored-by: Robert Kaussow <mail@thegeeklab.de> Co-committed-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
7beff8b893
commit
3d2a49de7f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user