From ecea27cf51c19efa2b77dc7c8ad106e1b9bdedf3 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Fri, 1 May 2020 00:56:32 +0900 Subject: [PATCH] Omit `-t` option. --- .drone.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index f10774f..cbee259 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,8 +17,7 @@ steps: - name: Compress-the-Assets image: alpine:3.9 commands: - - find public/ -type f | egrep "\.(css|js|png|jpg|JPG|PNG|CSS|JS)$" | xargs -n 1 -i% -P 0 -t sh -c 'cp % %.bk && gzip % && mv %.bk %' - - find public/ -type f | egrep "\.(html|HTML)$" | xargs -n 1 -i% -P 0 -t sh -c 'cp % %.bk && gzip % && mv %.bk %' + - 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 %' - name: housekeep image: appleboy/drone-ssh @@ -71,8 +70,7 @@ steps: - name: Compress-the-Assets image: alpine:3.9 commands: - - find public/ -type f | egrep "\.(css|js|png|jpg|JPG|PNG|CSS|JS)$" | xargs -n 1 -i% -P 0 -t sh -c 'cp % %.bk && gzip % && mv %.bk %' - - find public/ -type f | egrep "\.(html|HTML)$" | xargs -n 1 -i% -P 0 -t sh -c 'cp % %.bk && gzip % && mv %.bk %' + - 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 %' - name: housekeep image: appleboy/drone-ssh