From 3509508ca1ebb8f0d5d33720506781fa346ca4a5 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Tue, 30 Apr 2024 13:10:19 +0200 Subject: [PATCH] Change build process of docs --- .github/workflows/build-docs.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml index 81077df0..4fd872d7 100644 --- a/.github/workflows/build-docs.yaml +++ b/.github/workflows/build-docs.yaml @@ -12,10 +12,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: ammaraskar/sphinx-action@master + + - uses: actions/setup-python@v5 with: - docs-folder: "./" - build-command: "sphinx-build -n -W --keep-going -b html -d _build/doctrees . _build/html" + python-version: '3.12' + + - name: Sphinx + run: pip install -r requirements.tx + + - name: Sphinx Build + run: sphinx-build -n -W --keep-going -b html -d _build/doctrees . _build/html + - uses: actions/upload-artifact@v1 with: name: DocumentationHTML