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:
parent
f1232f4a2e
commit
03903d7cc4
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -17,6 +17,8 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Cache Hugo resources
|
||||
uses: actions/cache@v4
|
||||
|
Loading…
Reference in New Issue
Block a user