From 55bac2e6c85d56d0a65d9fe50b907f97512d6c42 Mon Sep 17 00:00:00 2001 From: Peter Chang Date: Mon, 26 Jun 2023 14:53:22 +0100 Subject: [PATCH] Remove extra copies and use links --- .github/workflows/ci.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9906c25d50..da69c6fe40 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -83,7 +83,6 @@ jobs: ls -lAFgh build/impatient-guide/build/html/index.html mkdir -p build/html mv build/impatient-guide/build/html build/html/impatient - ls -lAFgh build/impatient-guide/build/latex/NXImpatient.pdf - name: Build User Manual run: | @@ -92,7 +91,6 @@ jobs: ls -lAFgh build/manual/build/html/index.html mkdir -p build/html mv build/manual/build/html/* build/html - ls -lAFgh build/manual/build/latex/nexus.pdf - name: Deploy both the User Manual and the Impatient Guide if: ${{ github.event.inputs.deploy && env.python_version == env.python_deploy_version }} @@ -103,10 +101,10 @@ jobs: - name: Upload the User Manual and the Impatient Guide if: ${{ github.event.inputs.upload && env.python_version == env.python_deploy_version }} + run: | + ln -s build/html/_static/NeXusManual.pdf build/html + ln -s build/html/_static/NXImpatient.pdf build/html uses: actions/upload-artifact@v3 with: name: nexus-definitions-docs - path: | - build/html - build/impatient-guide/build/*/NXImpatient.pdf - build/manual/build/*/nexus.pdf + path: build/html