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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

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