Skip to content

Commit 8ae3a47

Browse files
committed
[fix] git info of specific page is inaccurate
see: https://gohugo.io/methods/page/gitinfo/#hosting-considerations
1 parent 8da25ed commit 8ae3a47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/blog_deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
uses: actions/checkout@v3
2323
with:
2424
submodules: true
25+
# perform a deep clone, see: https://gohugo.io/methods/page/gitinfo/#hosting-considerations
26+
fetch-depth: 0
2527

2628
## Too hard to pass!
2729
# - name: AutoCorrect

0 commit comments

Comments
 (0)