Update .gitea/workflows/hugo-build.yml
Some checks failed
Hugo Update Pipeline / Explore-Gitea-Actions (push) Failing after 8s

This commit is contained in:
2025-06-10 08:05:09 -05:00
parent 604fea2ea6
commit c36b934b57

View File

@ -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