Delete unnecessary line:

```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -38,7 +38,6 @@ jobs:
           name: "Gzip css/js/images"
           working_directory: /root/project/
           command: |
-            TARGETS=`find ./public/ -type f -regextype posix-egrep -regex ".*\.(css|js|png|jpg|JPG|PNG|CSS|JS)"
             for TARGET in `find ./public/ -type f -regextype posix-egrep -regex ".*\.(css|js|png|jpg|JPG|PNG|CSS|JS)"`
             do
               gzip -c ${TARGET} > ${TARGET}.gz
```
This commit is contained in:
Kazuhiro MUSASHI 2019-05-04 20:53:35 +08:00
parent c121f7db02
commit 7caefb9317
1 changed files with 0 additions and 1 deletions

View File

@ -38,7 +38,6 @@ jobs:
name: "Gzip css/js/images" name: "Gzip css/js/images"
working_directory: /root/project/ working_directory: /root/project/
command: | command: |
TARGETS=`find ./public/ -type f -regextype posix-egrep -regex ".*\.(css|js|png|jpg|JPG|PNG|CSS|JS)"
for TARGET in `find ./public/ -type f -regextype posix-egrep -regex ".*\.(css|js|png|jpg|JPG|PNG|CSS|JS)"` for TARGET in `find ./public/ -type f -regextype posix-egrep -regex ".*\.(css|js|png|jpg|JPG|PNG|CSS|JS)"`
do do
gzip -c ${TARGET} > ${TARGET}.gz gzip -c ${TARGET} > ${TARGET}.gz