matrix-spam-ml

git clone git://archive.git.mtrnord.blog/MTRNord/matrix-spam-ml.git
Log | Files | Refs | Submodules | README | LICENSE

commit 208ef5670c0110ce1c6b5d9b406614cd9a9f4679
parent 6314c75c9f3b05fcdee3e17181520af21423dd4b
Author: MTRNord <mtrnord1@gmail.com>
Date:   Thu, 22 Dec 2022 13:51:00 +0200

Setup docs

Diffstat:
A.github/workflows/build_docs.yml | 16++++++++++++++++
A.gitmodules | 3+++
Adocumentation | 1+
3 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml @@ -0,0 +1,16 @@ +on: push +name: Build and deploy GH Pages +jobs: + build: + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' + steps: + - name: checkout + uses: actions/checkout@v3.0.0 + - name: build_and_deploy + uses: shalzz/zola-deploy-action@v0.16.1 + env: + BUILD_DIR: documentation + # Target branch + PAGES_BRANCH: gh-pages + TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitmodules b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "documentation"] + path = documentation + url = https://github.com/MTRNord/matrix-spam-ml-docs.git diff --git a/documentation b/documentation @@ -0,0 +1 @@ +Subproject commit 8afa4e178dafabd4a5a7a9397090e1072f7df351