Update .gitea/workflows/pages.yml
Some checks failed
Continuous Integration / build (push) Failing after 24s

This commit is contained in:
xeovalyte 2024-01-18 14:57:23 +01:00
parent fcf9bed24a
commit 5123480d8d

View File

@ -20,14 +20,15 @@ jobs:
- run: mkdocs build - run: mkdocs build
# Commit and push all changed files. # Commit and push all changed files.
- name: GIT Commit Build Artifacts (coverage, dist, devdist, docs) - run: |
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com" git config --global user.email "username@users.noreply.github.com"
git subtree add --prefix=pages origin/pages - run: git subtree add --prefix=pages origin/pages
git subtree pull --prefix=pages origin pages - run: git subtree pull --prefix=pages origin pages
- run: |
rm -rf pages/* rm -rf pages/*
cp -r site/* pages/ cp -r site/* pages/
- run: |
git add pages/ git add pages/
git commit -m "${{ env.CI_COMMIT_MESSAGE }}" git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
git subtree push --prefix pages origin pages - run: git subtree push --prefix pages origin pages