diff --git a/.gitea/workflows/pages.yml b/.gitea/workflows/pages.yml index 3375125..842ba95 100644 --- a/.gitea/workflows/pages.yml +++ b/.gitea/workflows/pages.yml @@ -24,9 +24,10 @@ jobs: run: | git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" - git subtree add --prefix=pages origin/pages --squash - git subtree pull --prefix=pages pages + git subtree add --prefix=pages origin/pages + git subtree pull --prefix=pages origin pages rm -rf pages/* cp -r site/* pages/ + git add pages/ git commit -m "${{ env.CI_COMMIT_MESSAGE }}" git subtree push --prefix deploy origin pages