From 9f7b3237cfb4eea74e97881d3d67751ddcc97011 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Thu, 18 Jan 2024 14:52:36 +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 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