From 195ee2ccc5262c3ca18d983fe09aa19db84078f8 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..2c046f4702 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: Upload HTML 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: Upload PDF 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