FIX: Silly yaml syntax error.

This commit is contained in:
MajorDroolz
2022-12-19 14:55:28 -05:00
parent 2b8c48345f
commit d72e8ca858

View File

@@ -17,13 +17,13 @@ jobs:
with: with:
node-version: '16' node-version: '16'
- run: | - run: |
npm install -g terser csso-cli html-minifier npm install -g terser csso-cli html-minifier
# Use CLI tools to minify, overwriting existing files # Use CLI tools to minify, overwriting existing files
- run: | - run: |
for i in `find . -name "*.js" -type f`; terser $i --compress -o $i; done for i in `find . -name "*.js" -type f`; terser $i --compress -o $i; done
for i in `find . -name "*.css" -type f`; do csso $i -o $i; done for i in `find . -name "*.css" -type f`; do csso $i -o $i; done
for i in `find . -name "*.html" -type f`; do html-minifier $i -o $i; done for i in `find . -name "*.html" -type f`; do html-minifier $i -o $i; done
# Push changes to `build` branch # Push changes to `build` branch
- run: | - run: |