Skip to content

Commit 013cdaa

Browse files
authored
Zip docs as a release artifact (#698)
1 parent 5ab179c commit 013cdaa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,6 @@ jobs:
170170
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
171171
with:
172172
upload_url: ${{ github.event.release.upload_url }}
173-
asset_path: /tmp/coherence-operator/_output/docs.tar.gz
174-
asset_name: docs.tar.gz
175-
asset_content_type: application/tar+gzip
173+
asset_path: /tmp/coherence-operator/_output/docs.zip
174+
asset_name: docs.zip
175+
asset_content_type: application/zip

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,7 @@ docs: api-doc-gen
25792579
mkdir -p $(BUILD_OUTPUT)/docs/images/images
25802580
cp -R docs/images/* build/_output/docs/images/
25812581
find examples/ -name \*.png -exec cp {} build/_output/docs/images/images/ \;
2582-
tar -C $(BUILD_OUTPUT) -czvf $(BUILD_OUTPUT)/docs.tar.gz ./docs
2582+
cd $(BUILD_OUTPUT)/docs && zip -r $(BUILD_OUTPUT)/docs.zip *
25832583

25842584
# ----------------------------------------------------------------------------------------------------------------------
25852585
# Test the documentation.

0 commit comments

Comments
 (0)