Skip to content

Commit

Permalink
Remove extra copies and use links
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterC-DLS committed Jun 26, 2023
1 parent f7b8eb8 commit 55bac2e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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 }}
Expand All @@ -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

0 comments on commit 55bac2e

Please sign in to comment.