Skip to content

Commit

Permalink
docs: Add fetch-depth 0
Browse files Browse the repository at this point in the history
Fetch all history for Hugo feature .GitInfo and .Lastmod
  • Loading branch information
peaceiris committed Apr 4, 2020
1 parent 45d50ca commit c55729f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -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
Expand Down

0 comments on commit c55729f

Please sign in to comment.