From 03903d7cc4fce38648422e42aa6e22ab7ad7cc3e Mon Sep 17 00:00:00 2001 From: Edoc <123019149+UTFX0150@users.noreply.github.com> Date: Wed, 27 Mar 2024 06:35:33 -0400 Subject: [PATCH] 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. --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3124911..31e1365 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,6 +17,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Cache Hugo resources uses: actions/cache@v4