fix: update GitHub Actions to fetch full Git history (#39)

Changed the fetch-depth option in the checkout step to 0. This enables the workflow to access the full commit history, which is necessary for Hugo's enableGitInfo feature to function correctly.
This commit is contained in:
Edoc 2024-03-27 06:35:33 -04:00 committed by GitHub
parent f1232f4a2e
commit 03903d7cc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache Hugo resources
uses: actions/cache@v4