This commit is contained in:
carlospolop
2025-10-04 01:46:26 +02:00
parent ab41eee8e8
commit 58f5fb17af
3 changed files with 22 additions and 29 deletions

View File

@@ -88,9 +88,8 @@ jobs:
RATIO=$(awk "BEGIN {printf \"%.1f\", ($COMPRESSED_SIZE / $ORIGINAL_SIZE) * 100}")
echo "Compression: ${ORIGINAL_SIZE} bytes -> ${COMPRESSED_SIZE} bytes (${RATIO}%)"
# Copy both versions to the searchindex repo
# Copy ONLY the .gz version to the searchindex repo (no uncompressed .js)
cd /tmp/searchindex-repo
cp "${GITHUB_WORKSPACE}/${ASSET}" "${FILENAME}"
cp "${GITHUB_WORKSPACE}/${ASSET}.gz" "${FILENAME}.gz"
# Stage all files