Update .gitea/workflows/hugo-build.yml
Some checks failed
Hugo Update Pipeline / Explore-Gitea-Actions (push) Failing after 8s
Some checks failed
Hugo Update Pipeline / Explore-Gitea-Actions (push) Failing after 8s
This commit is contained in:
@ -13,14 +13,14 @@ jobs:
|
|||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
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
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
- name: Update submodules
|
- name: Update submodules
|
||||||
run: |
|
run: |
|
||||||
git pull
|
git pull
|
||||||
git config --global user.email "${{ gitea.actor }}.users.noreply.git.theoswalds.com"
|
git config --global user.email "${{ gitea.actor }}.users.noreply.git.theoswalds.com"
|
||||||
git config --global user.name "${{ gitea.actor }}"
|
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 submodule update --init --recursive --remote -f
|
||||||
git commit -am "updating submodules" || true
|
git commit -am "updating submodules" || true
|
||||||
git push
|
git push
|
||||||
|
Reference in New Issue
Block a user