Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2020-04-29 11:01:28 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2020-04-29 11:01:28 +0300
commit27fda4a727443c824125717efeaf1c3183f2f2f2 (patch)
tree26a731f833f0f968f75e84501700e18c816c6b03
parente69281df2a2adc167cc1347204fe97e8b6424578 (diff)
parenta5b74b8d4ff84caed32afd878e244d7ee7cf393a (diff)
Merge branch 'revert-7f4406eb' into 'master'
Revert "Merge branch 'gzip-alpine' into 'master'" See merge request gitlab-org/gitlab-docs!835
-rw-r--r--.gitlab-ci.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 54ff8d8b..d6523a09 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -316,7 +316,7 @@ pages:
- mv /usr/share/nginx/html/1* public/
#
- # Check the size before minifying and gzipping
+ # Check the size before minifying
#
- du -sh public/
@@ -334,13 +334,10 @@ pages:
#
- /scripts/minify-assets.sh ./ public/
- #
# Use gzip to compress content
+ - find public/ -type f \( -iname "*.html" -o -iname "*.js" -o -iname "*.css" -o -iname "*.svg" \) -exec gzip --keep --best --force --verbose {} \;
#
- - find public/ -type f \( -iname "*.html" -o -iname "*.js" -o -iname "*.css" -o -iname "*.svg" \) -exec gzip -f {} \;
-
- #
- # Check the size after minifying and gzipping
+ # Check the size after minifying
#
- du -sh public/
artifacts: