Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 563 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 563 Bytes

Minify all your HTML files using minify-html tool with prechosen params (aiming for maximum compression). This is a pre-build/post-build tool for a website building project.

usage

- uses: nvfp/ghact_minify_htmls@...  # use the latest version is recommended.
  with:
    folder: ./_site  # will minify all HTML files recursively inside this folder (use rel. path, relative to root)

Please read the file action.yml to learn more.

notes

  • make sure all the html files have .html type (lowercase).