Update .gitea/workflows/pages.yml
Some checks failed
Continuous Integration / build (push) Failing after 24s

This commit is contained in:
xeovalyte 2024-01-19 13:06:32 +01:00
parent 38225f3951
commit 868cd3da51

View File

@ -25,13 +25,13 @@ jobs:
git config --global user.email "me+gitea@xeovalyte.dev" git config --global user.email "me+gitea@xeovalyte.dev"
git config --global user.password "${{ secrets.PASSWORD }}" git config --global user.password "${{ secrets.PASSWORD }}"
- run: | - run: |
git submodule update --init --recursive --remote pages git clone -b pages https://gitea.xeovalyte.dev/xeovalyte/static.git
- run: | - run: |
rm pages/* -r rm static/* -r
cp site/* pages/ -r cp site/* static/ -r
- run: | - run: |
cd pages/ cd static/
git add . git add .
git commit -m "${{ env.CI_COMMIT_MESSAGE }}" git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
git push origin HEAD:pages git push
- run: curl https://docs.xeovalyte.dev/update/static - run: curl https://docs.xeovalyte.dev/update/static