docs: Add fetch-depth 0

Fetch all history for Hugo feature .GitInfo and .Lastmod
This commit is contained in:
Shohei Ueda authored and GitHub committed 2020-04-04 14:58:15 +09:00
1 parent c742786fc9
commit 32a0227f7c
1 file changed
+2 -1
+2 -1
View File
@@ -126,7 +126,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