From b9f80837a152254cd0381e93020862379cdcef7f Mon Sep 17 00:00:00 2001 From: Patrick Allwood Date: Fri, 29 May 2026 11:08:04 +0100 Subject: [PATCH] ci: docs build --- .github/workflows/docs.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 00000000..4eb2bec1 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,38 @@ +name: Docs + +on: + push: + branches: + - main + paths: + - docs/** + workflow_dispatch: + +jobs: + build-docs: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: '3.x' + + - name: Verify dependencies + run: | + python --version + docker --version + + - name: Build docs site + working-directory: docs + run: bash ./buildDocs.sh + + - name: Upload generated docs artifact + uses: actions/upload-artifact@v4 + with: + name: docs-site + path: docs/_build/html + if-no-files-found: error