Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
apptainer exec --writable-tmpfs ${IMAGE_FILE_NAME} bash -c "cd /opt/hippo/unit && ./run_tests"
- name: Docs
shell: bash
if: ${{ matrix.mpi == 'openmpi' }}
run: |
apptainer exec ${IMAGE_FILE_NAME} bash -c "cd /opt/hippo/doc && ./moosedocs.py build --destination=${{ github.workspace }}/doc/htmldoc"
[ -f ${{ github.workspace }}/doc/htmldoc/index.html ]
Expand All @@ -53,15 +54,18 @@ jobs:
path: ${{ env.IMAGE_FILE_NAME }}
- name: Artifact docs for pages
id: deployment
if: ${{ matrix.mpi == 'openmpi' }}
uses: actions/upload-pages-artifact@v3
with:
path: ${{ github.workspace }}/doc/htmldoc
- name: Compress docs for release artifact
shell: bash
if: ${{ matrix.mpi == 'openmpi' }}
run: |
tar -czvf hippo-docs-${{ github.sha }}.tar.gz ${{ github.workspace }}/doc/htmldoc
- name: Artifact docs for release
id: docs-artifact
if: ${{ matrix.mpi == 'openmpi' }}
uses: actions/upload-artifact@v7
with:
if-no-files-found: error
Expand Down
Loading