diff --git a/Pages/Hexo.gitlab-ci.yml b/Pages/Hexo.gitlab-ci.yml index 908463c9d1292fe319759467ea32c52bbfe936cb..02d02250bbf82da0f8321ee7dbc91c71e68adb77 100644 --- a/Pages/Hexo.gitlab-ci.yml +++ b/Pages/Hexo.gitlab-ci.yml @@ -1,17 +1,16 @@ # Full project: https://gitlab.com/pages/hexo -image: node:4.2.2 +image: node:6.10.0 pages: - cache: - paths: - - node_modules/ - script: - - npm install hexo-cli -g - npm install - - hexo deploy + - ./node_modules/hexo/bin/hexo generate artifacts: paths: - public + cache: + paths: + - node_modules + key: project only: - master