Skip to content

Commit

Permalink
Change archive logic
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarber-akamai committed Sep 1, 2024
1 parent b478c99 commit a28e46a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,12 @@ jobs:
name: generated-docs-html
path: ".build/${{ github.ref_name }}"

- run: find .build

- name: Archive the built documentation
run: |
tar -czvf .build/docs.tar.gz .build/${{ github.ref_name }}
cd .build/${{ github.ref_name }} && tar -czvf ../documentation.tar.gz *
- name: Upload the documentation as a release asset
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191
with:
files: .build/docs.tar.gz
files: .build/documentation.tar.gz
tag_name: ${{ github.ref_name }}

0 comments on commit a28e46a

Please sign in to comment.