From 32a0227f7c6301faaa80bd5680eb93e5e049996f Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Sat, 4 Apr 2020 14:58:15 +0900 Subject: [PATCH] docs: Add fetch-depth 0 Fetch all history for Hugo feature .GitInfo and .Lastmod --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3936e2a2b..6ea091da2 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,8 @@ jobs: steps: - uses: actions/checkout@v2 with: - submodules: true + submodules: true # Fetch Hugo themes + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Setup Hugo uses: peaceiris/actions-hugo@v2