Skip to content

Commit c31b86f

Browse files
authored
2.0.1 bugfixed! this is a dev commit: 2 files changed, 4 insertions(+), 4 deletions(-);this is a dev commit: 2 files changed, 4 insertions(+), 4 deletions(-) (#1)
README.md | 4 ++-- action.yml | 4 ++-- message generated by QWD (github.com/nvfp/qwd)
1 parent f59052f commit c31b86f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Minify all your HTML files using [minify-html](https://github.com/kangax/html-minifier) tool with prechosen params (aiming for maximum compression). This is a post-build tool for a website building project.
1+
Minify all your HTML files using [minify-html](https://github.com/kangax/html-minifier) tool with prechosen params (aiming for maximum compression). This is a pre-build/post-build tool for a website building project.
22

33
## usage
44

55
```yml
6-
- uses: nvfp/ghact_minify_htmls@... # use the latest/main branch vers is recommended.
6+
- uses: nvfp/ghact_minify_htmls@... # use the latest version is recommended.
77
with:
88
folder: ./_site # will minify all HTML files recursively inside this folder (use rel. path, relative to root)
99
```

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ runs:
5353
# '--collapse-inline-tag-whitespace', # not using this, it will remove spaces that shouldnt be removed.
5454
'-o', ipth
5555
])
56-
print(f"INFO: minified: {os.path.relpath(ipth, START)} ({round( 100*(size0-os.path.getsize(ipth))/size0 )}%)")
56+
print(f"INFO: minified: {os.path.relpath(ipth, ABS_PTH)} ({round( 100*(size0-os.path.getsize(ipth))/size0 )}%)")
5757
else: recursing(ipth)
5858
recursing(ABS_PTH)
5959
main()
6060
61-
print(f"─── {ACTION_BIO} finished... random.choice(['Take care!', 'Goodbye!'])")
61+
print(f"─── {ACTION_BIO} finished... random.choice(['Take care!', 'You are awesome, goodbye.'])")
6262
shell: python
6363
env:
6464
ENV__action_repository: ${{ github.action_repository }}

0 commit comments

Comments
 (0)