From cb50b83166cef428e6688cff97359be46d1d6253 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Thu, 18 Jan 2024 15:24:45 +0100 Subject: [PATCH] Update .gitea/workflows/pages.yml --- .gitea/workflows/pages.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/pages.yml b/.gitea/workflows/pages.yml index b22c126..1eb7ee6 100644 --- a/.gitea/workflows/pages.yml +++ b/.gitea/workflows/pages.yml @@ -22,7 +22,7 @@ jobs: # Commit and push all changed files. - run: | 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: | mkdir pages cp -r site/* pages/ @@ -30,4 +30,5 @@ jobs: git add pages/ git commit -m "${{ env.CI_COMMIT_MESSAGE }}" 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