From d7812b55e1e4c37705ec4676757b6307559d6cdc Mon Sep 17 00:00:00 2001 From: Silvano Sallese Date: Sun, 27 May 2018 14:59:52 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65da237..b1017a6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,16 +1,21 @@ -image: node:4.2.2 +image: node:8.11.2 -pages: - cache: +cache: paths: - - node_modules/ + - node_modules/ - script: - - npm install hexo-cli -g - - npm install - - hexo deploy - artifacts: - paths: - - public - only: - - master +variables: + GIT_SUBMODULE_STRATEGY: recursive + +before_script: + - npm install hexo-cli -g + - npm install + +pages: + script: + - hexo generate + artifacts: + paths: + - public + only: + - master -- GitLab