Add `-f` flag to `rm` command.
This commit is contained in:
parent
913f3aaecf
commit
f398b0d398
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue