Update .gitea/workflows/pages.yml
Some checks failed
Continuous Integration / build (push) Failing after 22s
Some checks failed
Continuous Integration / build (push) Failing after 22s
This commit is contained in:
parent
49b63b2fbc
commit
6bfd50b383
@ -18,13 +18,15 @@ jobs:
|
||||
- run: pip3 install mkdocs-material
|
||||
|
||||
- run: mkdocs build
|
||||
- run: mv site/ deploy/
|
||||
|
||||
# Commit and push all changed files.
|
||||
- name: GIT Commit Build Artifacts (coverage, dist, devdist, docs)
|
||||
run: |
|
||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||
git config --global user.email "username@users.noreply.github.com"
|
||||
git add deploy/
|
||||
git subtree add --prefix=pages origin/pages --squash
|
||||
git subtree pull --prefix=pages origin/pages
|
||||
rm -rf pages/*
|
||||
cp -r site/* pages/
|
||||
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
|
||||
git subtree push --prefix deploy origin pages --squash
|
||||
git subtree push --prefix deploy origin pages
|
||||
|
Loading…
x
Reference in New Issue
Block a user