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