Neuer versuch deploy
Some checks failed
Deploy Docs / build-and-deploy (push) Failing after 13s

This commit is contained in:
2025-12-30 14:55:34 +01:00
parent c8b2c624e2
commit 72cd439ce1

View File

@@ -1,3 +1,11 @@
name: Deploy Docs
on:
push:
branches:
- dev
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
@@ -5,19 +13,21 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Dependencies
- name: Build and Deploy
run: |
# 1. venv erstellen & Abhängigkeiten installieren
python3 -m venv .venv
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -r doc/requirements.txt
- name: Build Documentation
run: |
# 2. Dokumentation bauen
.venv/bin/python -m mkdocs build
# 3. Falls die Verzeichnisse stimmen, liegt das Ergebnis in ./site
- name: Deploy to Gitea Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
publish_branch: pages
publish_branch: pages