Delete `sudo` command.

This commit is contained in:
Kazuhiro MUSASHI 2020-02-16 23:01:30 +08:00
parent 9ed38ea0b8
commit 3e1b3d2f3f
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,8 @@ steps:
- name: Compress-the-Assets
image: alpine:3.9
commands:
- for TARGET in `find public/ -type f | egrep "\.(css|js|png|jpg|JPG|PNG|CSS|JS)$"`; do sudo gzip -c ${TARGET} > ${TARGET}.gz; done
- for TARGET in `find public/ -type f | egrep "\.(css|js|png|jpg|JPG|PNG|CSS|JS)$"`; do sudo rm -f ${TARGET}; done
- 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 -f ${TARGET}; done
- name: housekeep
image: appleboy/drone-ssh