From 51cccb4b653dfb6423a004c5e58d30746fed5bd2 Mon Sep 17 00:00:00 2001 From: Xeovalyte Date: Thu, 18 Jan 2024 15:13:21 +0100 Subject: [PATCH] Added index --- .gitea/workflows/pages.yml | 13 ++++++++----- docs/toos/index.md | 2 ++ 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 docs/toos/index.md 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