Update .gitea/workflows/pages.yml
All checks were successful
Continuous Integration / build (push) Successful in 26s

This commit is contained in:
xeovalyte 2024-01-18 15:24:45 +01:00
parent 30074a3da0
commit cb50b83166

View File

@ -22,7 +22,7 @@ jobs:
# Commit and push all changed files. # Commit and push all changed files.
- 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 "me+ci@xeovalyte.dev"
- run: | - run: |
mkdir pages mkdir pages
cp -r site/* pages/ cp -r site/* pages/
@ -30,4 +30,5 @@ jobs:
git add pages/ git add pages/
git commit -m "${{ env.CI_COMMIT_MESSAGE }}" git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
git pull git pull
- run: git subtree push --prefix pages origin gitea-pages - run: git push origin --delete pages
- run: git subtree push --prefix pages origin pages