Add Gitea Actions workflow for MkDocs build

This commit is contained in:
mw
2025-12-27 12:16:16 +00:00
parent a951c61303
commit 91a63e8cac
+27
View File
@@ -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