This commit is contained in:
parent
691c503c95
commit
97cf4c8073
@ -30,7 +30,7 @@ steps:
|
||||
- name: Compress-the-Assets
|
||||
image: alpine:3.9
|
||||
commands:
|
||||
- find public/ -type f | egrep "\.(css|js|png|jpg|html|JPG|PNG|CSS|JS|HTML)$" | xargs -n 1 -i% -P 0 sh -c 'cp % %.bk && gzip % && mv %.bk %'
|
||||
- find public/ -type f | egrep "\.(css|js|png|jpg|html|JPG|PNG|CSS|JS|HTML|gpx)$" | xargs -n 1 -i% -P 0 sh -c 'cp % %.bk && gzip % && mv %.bk %'
|
||||
|
||||
- name: housekeep
|
||||
image: appleboy/drone-ssh
|
||||
@ -88,7 +88,7 @@ steps:
|
||||
- name: Compress-the-Assets
|
||||
image: alpine:3.9
|
||||
commands:
|
||||
- find public/ -type f | egrep "\.(css|js|png|jpg|html|JPG|PNG|CSS|JS|HTML)$" | xargs -n 1 -i% -P 0 sh -c 'cp % %.bk && gzip % && mv %.bk %'
|
||||
- find public/ -type f | egrep "\.(css|js|png|jpg|html|JPG|PNG|CSS|JS|HTML|gpx)$" | xargs -n 1 -i% -P 0 sh -c 'cp % %.bk && gzip % && mv %.bk %'
|
||||
|
||||
- name: housekeep
|
||||
image: appleboy/drone-ssh
|
||||
|
Loading…
Reference in New Issue
Block a user