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 c742786 commit 32a0227
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32a0227

Please sign in to comment.