From 5d1b96bd7ebdaa7e6a587f14f821771bda06818a Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Fri, 6 Jan 2023 22:54:31 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6cc6ed20..4847e31e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,11 +5,10 @@ variables: pages: script: - - hugo --gc --minify - - gzip -k -9 public/* + - hugo --gc --minify && gzip -k -9 $(find public -type f) artifacts: paths: - public rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - interruptible: true \ No newline at end of file + interruptible: true