From c55729fbd130889796da92d7859188dbbad0e32a Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Sat, 4 Apr 2020 14:57:53 +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 a8e30ea..29aaf43 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,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