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:57:53 +09:00 committed by GitHub
parent 45d50caa20
commit c55729fbd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,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