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