diff --git a/.gitea/workflows/pages.yml b/.gitea/workflows/pages.yml index 32d2573..599f98e 100644 --- a/.gitea/workflows/pages.yml +++ b/.gitea/workflows/pages.yml @@ -21,11 +21,14 @@ jobs: - run: mkdocs build # Commit and push all changed files. - - name: GIT Commit Build Artifacts (coverage, dist, devdist, docs) - run: | + - run: | git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" - git add site/ + - run: | + mkdir pages + cp -r site/* pages/ + - run: | + git add pages/ git commit -m "${{ env.CI_COMMIT_MESSAGE }}" - git branch -M pages - git push -u origin pages --force + git pull + - run: git subtree push --prefix pages origin gitea-pages diff --git a/docs/toos/index.md b/docs/toos/index.md new file mode 100644 index 0000000..7d47233 --- /dev/null +++ b/docs/toos/index.md @@ -0,0 +1,2 @@ +# Index +Docs from Timo