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

View file

@ -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