Skip to content

Commit 58b659c

Browse files
committed
Add new minifer
1 parent d624175 commit 58b659c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: .github/workflows/static.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
git checkout main
3737
git merge source --no-ff
3838
- name: Minify HTML
39-
run: npx html-minifier-terser \
40-
--collapse-whitespace \
41-
--remove-comments \
42-
--minify-css true \
43-
--minify-js true \
39+
uses: docker://textadi/minifier-compressor-html-action:v2
40+
env:
41+
DIR: .
42+
PARAM_MINIFY_CSS: True
43+
PARAM_MINIFY_JS: True
4444
- name: Commit and push to main
4545
run: |
4646
git add .

0 commit comments

Comments
 (0)