deploy.yaml rework

This commit is contained in:
2025-12-30 14:51:25 +01:00
parent a82b1f8582
commit c8b2c624e2

View File

@@ -1,9 +1,3 @@
name: Deploy Docs
on:
push:
branches:
- dev
jobs:
build-and-deploy:
runs-on: ubuntu-latest
@@ -11,17 +5,15 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Dependencies
- name: Install Dependencies
run: |
pip install -r doc/requirements.txt
python3 -m venv .venv
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -r doc/requirements.txt
- name: Build Documentation
run: mkdocs build
run: |
.venv/bin/python -m mkdocs build
- name: Deploy to Gitea Pages
uses: peaceiris/actions-gh-pages@v3