Skip to content

Commit 00e9ade

Browse files
committed
feat: replace minhtml with minify for HTML minification in workflow
1 parent af2b164 commit 00e9ade

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/static.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ jobs:
3535
run: |
3636
uv run scripts/generate_treemap_data.py
3737
38-
- name: 🦀 Install minhtml
39-
run: cargo install minhtml
38+
- name: 🙃 Install minhtml
39+
run: apt-get update && apt-get install -y minify
4040

4141
- name: 📂 Minify Visualizer
4242
run: |
43-
minhtml --keep-closing-tags --minify-css --minify-js ./visualizer/*.html
43+
minify -o ./visualizer/index.html ./visualizer/index.html
4444
4545
- name: 📦 Upload Pages Artifact
4646
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)