From 868cd3da5140391a946271351944802d612e5e4a Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 19 Jan 2024 13:06:32 +0100 Subject: [PATCH] Update .gitea/workflows/pages.yml --- .gitea/workflows/pages.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/pages.yml b/.gitea/workflows/pages.yml index 68b41f9..2b1b84d 100644 --- a/.gitea/workflows/pages.yml +++ b/.gitea/workflows/pages.yml @@ -25,13 +25,13 @@ jobs: git config --global user.email "me+gitea@xeovalyte.dev" git config --global user.password "${{ secrets.PASSWORD }}" - run: | - git submodule update --init --recursive --remote pages + git clone -b pages https://gitea.xeovalyte.dev/xeovalyte/static.git - run: | - rm pages/* -r - cp site/* pages/ -r + rm static/* -r + cp site/* static/ -r - run: | - cd pages/ + cd static/ git add . git commit -m "${{ env.CI_COMMIT_MESSAGE }}" - git push origin HEAD:pages + git push - run: curl https://docs.xeovalyte.dev/update/static