Compress Files and Replace Then
ActionsA GitHub Action for compressing files using Brotli or GZip compression and replace then
v1.0.3
LatestBy ThiagoJaweb
Tags
(1)A GitHub Action for compressing files using Brotli or GZip compression.
In case you deploy your Blazor Web on GitHub Pages are have modified some files (*.js or *.html) and want to recompress these, use this GitHub Action.
The path to find the files. Default this is .
A comma separated list from all the file-extensions you want to compress. Default this is set to .js,.css,.html,.json
A comman separated list from the compresion utilities you want to use. Valid values are brotli
and gzip
. Default both are used.
Maximum folder depth to process. Default this is set to 3
- name: CompressFiles
uses: ThiagoJaweb/[email protected]
with:
path: ${{ env.PUBLISH_DIR }}
extensions: '.js,.css,.html'
tools: 'brotli,gzip'
Compress Files and Replace Then is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.