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

This commit is contained in:
xeovalyte 2024-01-19 12:20:37 +01:00
parent a315a722b2
commit ed65c73785

View File

@ -24,12 +24,12 @@ jobs:
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "me+ci@xeovalyte.dev" git config --global user.email "me+ci@xeovalyte.dev"
- run: | - run: |
mkdir pages git submodule init
cp -r site/* pages/ rm pages/*
cp site/* pages/*
- run: | - run: |
git add pages/ cd pages/
git add .
git commit -m "${{ env.CI_COMMIT_MESSAGE }}" git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
git pull git push
- run: git push origin --delete pages
- run: git subtree push --prefix pages origin pages
- run: curl https://docs.xeovalyte.dev/update/static - run: curl https://docs.xeovalyte.dev/update/static