diff --git a/.drone.yml b/.drone.yml index d2ddd82..cbc6523 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,7 +18,7 @@ steps: image: cibuilds/hugo:0.62.1 commands: - for TARGET in `find public/ -type f | egrep "\.(css|js|png|jpg|JPG|PNG|CSS|JS)$"`; do gzip -c ${TARGET} > ${TARGET}.gz; done - - for TARGET in `find public/ -type f | egrep "\.(css|js|png|jpg|JPG|PNG|CSS|JS)$"`; do rm ${TARGET}; done + - for TARGET in `find public/ -type f | egrep "\.(css|js|png|jpg|JPG|PNG|CSS|JS)$"`; do rm -f ${TARGET}; done - name: scp image: appleboy/drone-scp