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:
parent
c121f7db02
commit
7caefb9317
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue