Skip to content

Commit

Permalink
[CD] Compress docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
chnoblouch committed Jun 17, 2024
1 parent 4a767e7 commit 7a5d336
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ jobs:

- name: Run Doxygen
working-directory: ${{ github.workspace }}/docs
run: doxygen
run: Doxygen

- name: Setup GitHub Pages
uses: actions/configure-pages@v5
- name: Archive results
run: tar czf docs-build.tar.gz ${{ github.workspace }}/docs/html

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: docs-build
path: "${{ github.workspace }}/docs/html"
path: docs-build.tar.gz

deploy:
environment:
Expand All @@ -59,7 +59,9 @@ jobs:
uses: actions/download-artifact@v4
with:
name: docs-build
path: dist/docs

- name: Extract docs build
run: mkdir -p dist/docs && tar xf docs-build.tar.gz --strip-components 1 -C dist/docs

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit 7a5d336

Please sign in to comment.