From ed65c7378547280092d7fad54a4bf362443bb58e Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 19 Jan 2024 12:20:37 +0100 Subject: [PATCH] Update .gitea/workflows/pages.yml --- .gitea/workflows/pages.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/pages.yml b/.gitea/workflows/pages.yml index fb1b74c..d57ef29 100644 --- a/.gitea/workflows/pages.yml +++ b/.gitea/workflows/pages.yml @@ -24,12 +24,12 @@ jobs: git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "me+ci@xeovalyte.dev" - run: | - mkdir pages - cp -r site/* pages/ + git submodule init + rm pages/* + cp site/* pages/* - run: | - git add pages/ + cd pages/ + git add . git commit -m "${{ env.CI_COMMIT_MESSAGE }}" - git pull - - run: git push origin --delete pages - - run: git subtree push --prefix pages origin pages + git push - run: curl https://docs.xeovalyte.dev/update/static