Skip to content

Commit 69843fb

Browse files
committed
Set fetch depth to 0 to pull history to fix hugo lastmod
1 parent 08bb4b2 commit 69843fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/docs-build-push.yml

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ jobs:
169169
170170
- name: Checkout docs content
171171
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.7.1
172+
with:
173+
fetch-depth: 0 # This is required for hugo Lastmod to function properly
172174

173175
- name: Get latest hugo theme
174176
if: inputs.doc_type == 'hugo' && inputs.force_hugo_theme_version == ''

0 commit comments

Comments
 (0)