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