Skip to content

Commit

Permalink
update makefiles and add pdf download option
Browse files Browse the repository at this point in the history
  • Loading branch information
dipinknair committed Apr 3, 2024
1 parent 301bfd0 commit dab5429
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -428,20 +428,35 @@ jobs:
# Make the pdf doc & validate results
make_doc pdf
# Make simple pdf
make_doc simplepdf
- name: Upload HTML Documentation
uses: actions/upload-artifact@v4
with:
name: documentation-html
path: doc/_build/html
retention-days: 7

- name: Add simple pdf to downloads
run: |
mkdir -p ./doc/_build/html/_static/download
cp ./doc/_build/latex/ansys-mechanical-core.pdf ./doc/_build/html/_static/download/
- name: Upload PDF Documentation
uses: actions/upload-artifact@v4
with:
name: documentation-pdf
path: doc/_build/latex/*.pdf
retention-days: 7

- name: Upload simple PDF Documentation
uses: actions/upload-artifact@v4
with:
name: documentation-pdf
path: doc/_build/simplepdf/*.pdf
retention-days: 7

coverage:
name: Merging coverage
needs: [tests, embedding-tests, launch-tests]
Expand Down

0 comments on commit dab5429

Please sign in to comment.