From c36b934b57bcc6c912558c1f500ff4cac5c38874 Mon Sep 17 00:00:00 2001 From: richardoswald Date: Tue, 10 Jun 2025 08:05:09 -0500 Subject: [PATCH] Update .gitea/workflows/hugo-build.yml --- .gitea/workflows/hugo-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/hugo-build.yml b/.gitea/workflows/hugo-build.yml index 8712dc0..778f307 100644 --- a/.gitea/workflows/hugo-build.yml +++ b/.gitea/workflows/hugo-build.yml @@ -13,14 +13,14 @@ jobs: - name: Check out code uses: actions/checkout@v4 with: - submodules: recursive # Fetch Hugo themes (true OR recursive) + submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Update submodules run: | git pull git config --global user.email "${{ gitea.actor }}.users.noreply.git.theoswalds.com" git config --global user.name "${{ gitea.actor }}" - git submodule foreach --recursive git reset --hard + # git submodule foreach --recursive git reset --hard git submodule update --init --recursive --remote -f git commit -am "updating submodules" || true git push