From 290f24ae63a82f26c189bb51d1576da471180031 Mon Sep 17 00:00:00 2001 From: Pete R Jemian Date: Sat, 24 Feb 2024 14:14:26 -0600 Subject: [PATCH] CI #274 add upload to workflow and re-arrange per murky project --- .github/workflows/docs.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ba8a4bca..4f3611dc 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -27,8 +27,8 @@ defaults: jobs: pages: - - runs-on: ubuntu-20.04 + name: Publish documentation + runs-on: ubuntu-latest steps: @@ -45,13 +45,20 @@ jobs: - name: Set time zone run: echo "TZ=America/Chicago" >> "$GITHUB_ENV" - - id: deployment + - name: Sphinx build + id: deployment uses: sphinx-notes/pages@v3 with: documentation_path: ./docs/source publish: false requirements_path: ./docs/requirements.txt + - name: Upload Docs ZIP file as artifact + uses: actions/upload-artifact@v4 + with: + name: ${{ env.REPOSITORY_NAME }}-docs + path: docs/build/html/ + - uses: peaceiris/actions-gh-pages@v3 if: ${{ github.event.inputs.deploy }} with: