docs: Add fetch-depth 0
Fetch all history for Hugo feature .GitInfo and .Lastmod
This commit is contained in:
parent
45d50caa20
commit
c55729fbd1
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true # Fetch Hugo themes
|
||||||
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
|
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
uses: peaceiris/actions-hugo@v2
|
uses: peaceiris/actions-hugo@v2
|
||||||
|
|
Loading…
Reference in a new issue