mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-06 03:26:53 +03:00
compress all HTML files (#3568)
* compress all HTML files * remove gz files, they get zipped in the build pipeline * Update build.yaml * removed flipImageSize.png, it is not used anywhere anymore * Update build.yaml
This commit is contained in:
11
.github/workflows/build.yaml
vendored
11
.github/workflows/build.yaml
vendored
@@ -86,7 +86,16 @@ jobs:
|
||||
cp -r ./sd-card/html/* ./html/
|
||||
|
||||
echo "Replacing variables..."
|
||||
cd html; find . -type f -exec sed -i 's/$COMMIT_HASH/${{ steps.vars.outputs.sha_short }}/g' {} \;
|
||||
cd html
|
||||
find . -type f -exec sed -i 's/$COMMIT_HASH/${{ steps.vars.outputs.sha_short }}/g' {} \;
|
||||
echo "compressing all html files..."
|
||||
find . -name "*.html" -type f -exec gzip {} \;
|
||||
find . -name "*.css" -type f -exec gzip {} \;
|
||||
find . -name "*.js" -type f -exec gzip {} \;
|
||||
find . -name "*.jpg" -type f -exec gzip {} \;
|
||||
find . -name "*.png" -type f -exec gzip {} \;
|
||||
find . -name "*.svg" -type f -exec gzip {} \;
|
||||
find . -name "*.map" -type f -exec gzip {} \;
|
||||
|
||||
- name: Prepare Demo mode files
|
||||
run: |
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 167 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user