Skip to content

Commit 87c1cf7

Browse files
committed
fix: make minhtml executable
1 parent b6755c7 commit 87c1cf7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build-and-deploy.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ jobs:
2828
- name: Build
2929
run: make all
3030

31-
- run: curl -L https://github.com/wilsonzlin/minify-html/releases/download/v0.15.0/minhtml-0.15.0-x86_64-unknown-linux-gnu > minhtml
32-
33-
- run: ./minhtml --keep-closing-tags --minify-css dist/*.html dist/*.css
31+
- name: Minify HTML and CSS
32+
run: |
33+
curl -L https://github.com/wilsonzlin/minify-html/releases/download/v0.15.0/minhtml-0.15.0-x86_64-unknown-linux-gnu > minhtml
34+
chmod +x minhtml
35+
./minhtml --keep-closing-tags --minify-css dist/*.html dist/*.css
3436
3537
- name: Setup Pages
3638
id: pages

0 commit comments

Comments
 (0)