build: zstd compress
This commit is contained in:
parent
7f90191c49
commit
f1fa7e450c
|
@ -14,7 +14,7 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
run: |
|
||||
apk update
|
||||
apk add brotli curl git grep jq xmlstarlet
|
||||
apk add brotli curl git grep jq xmlstarlet zstd
|
||||
- name: Build
|
||||
env:
|
||||
PHISHTANK_API: ${{ secrets.PHISHTANK_API }}
|
||||
|
@ -24,6 +24,7 @@ jobs:
|
|||
run: |
|
||||
find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\|csv\)$' -exec gzip -f -k -9 {} \;
|
||||
find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\|csv\)$' -exec brotli -f -k -9 {} \;
|
||||
find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\|csv\)$' -exec zstd -f -k -9 {} \;
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
with:
|
||||
|
|
|
@ -12,12 +12,13 @@ build_job:
|
|||
stage: build
|
||||
|
||||
before_script:
|
||||
- apk update && apk add brotli curl grep jq xmlstarlet
|
||||
- apk update && apk add brotli curl grep jq xmlstarlet zstd
|
||||
|
||||
script:
|
||||
- sh src/script.sh
|
||||
- find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\|csv\)$' -exec gzip -f -k -9 {} \;
|
||||
- find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\|csv\)$' -exec brotli -f -k -9 {} \;
|
||||
- find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\|csv\)$' -exec zstd -f -k -9 {} \;
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
|
|
Loading…
Reference in New Issue