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