From d8d72790c819e5e34a472fe9800d87e6d3ef260d 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 6cc6ed2..4847e31 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