docs: Add fetch-depth 0

Fetch all history for Hugo feature .GitInfo and .Lastmod
This commit is contained in:
Shohei Ueda
2020-04-04 14:58:15 +09:00
committed by GitHub
parent c742786fc9
commit 32a0227f7c

View File

@@ -126,7 +126,8 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
submodules: true
submodules: true # Fetch Hugo themes
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2