Skip to content

Commit a28e46a

Browse files
Change archive logic
1 parent b478c99 commit a28e46a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/docs-build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,12 @@ jobs:
140140
name: generated-docs-html
141141
path: ".build/${{ github.ref_name }}"
142142

143-
- run: find .build
144-
145143
- name: Archive the built documentation
146144
run: |
147-
tar -czvf .build/docs.tar.gz .build/${{ github.ref_name }}
145+
cd .build/${{ github.ref_name }} && tar -czvf ../documentation.tar.gz *
148146
149147
- name: Upload the documentation as a release asset
150148
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191
151149
with:
152-
files: .build/docs.tar.gz
150+
files: .build/documentation.tar.gz
153151
tag_name: ${{ github.ref_name }}

0 commit comments

Comments
 (0)