From fc566a0e8f37469773cea0c35138c833e4c05672 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sun, 17 Jul 2022 20:09:36 -0400 Subject: [PATCH] Fetch submodule Signed-off-by: Tommy --- .github/workflows/firebase-hosting-merge.yml | 3 +++ .github/workflows/firebase-hosting-pull-request.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 0300703..02f2c86 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -12,6 +12,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + submodules: true # Fetch Hugo themes (true OR recursive) + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Hugo setup uses: peaceiris/actions-hugo@v2 diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index f15fa53..a276221 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -10,6 +10,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + submodules: true # Fetch Hugo themes (true OR recursive) + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Hugo setup uses: peaceiris/actions-hugo@v2