Skip to content

Github action for minifying HTML files using `html-minifier` tool

License

Notifications You must be signed in to change notification settings

nvfp/ghact_minify_htmls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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).

About

Github action for minifying HTML files using `html-minifier` tool

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published