diff --git a/.gitea/workflows/mkdocs.yml b/.gitea/workflows/mkdocs.yml new file mode 100644 index 0000000..88527e4 --- /dev/null +++ b/.gitea/workflows/mkdocs.yml @@ -0,0 +1,27 @@ +name: MkDocs Build +on: + push: + paths: + - '**.md' + - 'mkdocs.yml' +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: '3.11' + - name: Install MkDocs Material + run: pip install mkdocs-material + - name: Build MkDocs + run: mkdocs build + - name: Commit build output + run: | + git config --global user.email "ci@example.com" + git config --global user.name "ci-bot" + git add site + git commit -m "Update MkDocs site" + git push