From 468f8174439539411e9518c16bd74530dde0842f Mon Sep 17 00:00:00 2001 From: lostinlight Date: Tue, 3 Apr 2018 02:49:02 +0300 Subject: [PATCH] Update gitlab-ci --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08a7d65..74a8bbf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ -image: node:6.11.1 +image: node:latest pages: script: @@ -7,6 +7,7 @@ pages: - npm install gulp -g - gulp build --cwd ./themes/starter - ./node_modules/hexo/bin/hexo generate + - find public -type f -iregex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -execdir gzip -f --keep {} \; artifacts: paths: - public