From f067ec37103ecfe55267304cb946f19d82b35197 Mon Sep 17 00:00:00 2001 From: Hugh Ramsden Date: Wed, 23 Oct 2024 17:30:29 +0100 Subject: [PATCH] updated build docs action for 0.3.x --- .github/workflows/build-docs.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 0d3e3c8..8b5b2ff 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -60,10 +60,19 @@ jobs: with: ref: 0.2.x clean: false - - name: Build Docs + - name: Build 0.2.x Docs run: | poetry install --with docs poetry run sphinx-build doc_src docs/0.2.x + - name: Checkout 0.3.x + uses: actions/checkout@v3 + with: + ref: 0.3.x + clean: false + - name: Build Docs 0.3.x + run: | + poetry install --with docs + poetry run mkdocs build -f=doc_src/mkdocs.yml -d=docs/0.3.x - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact