From c5f6ae7209c8bf4fce806450a225d95259a0296d Mon Sep 17 00:00:00 2001 From: woutdenolf Date: Fri, 16 Jun 2023 16:38:09 +0200 Subject: [PATCH] html artifact for easy documentation checking of pull requests --- .github/workflows/ci.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4bed1ad8eb..ae77b533eb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -85,6 +85,22 @@ jobs: ls -lAFgh build/manual/build/html/index.html ls -lAFgh build/manual/build/latex/nexus.pdf + - name: HTML build artifacts + if: ${{ env.python_version == env.python_deploy_version }} + uses: actions/upload-artifact@v3 + with: + name: html + path: build/manual/build/html/ + retention-days: 30 + + - name: PDF build artifacts + if: ${{ env.python_version == env.python_deploy_version }} + uses: actions/upload-artifact@v3 + with: + name: nexus.pdf + path: build/manual/build/latex/nexus.pdf + retention-days: 30 + - name: Build and Commit the User Manual if: ${{ github.event.inputs.deploy && env.python_version == env.python_deploy_version }} uses: sphinx-notes/pages@master