From fb3b22224aad5bdfe15f9d8a4cc2a81b453b9b7b Mon Sep 17 00:00:00 2001
From: Mark Pundsack <mpundsack@gitlab.com>
Date: Wed, 15 Mar 2017 16:49:46 -0500
Subject: [PATCH 1/2] Update node version; stop installing hexo globally; use
 relative reference to hexo; add caching

---
 Pages/Hexo.gitlab-ci.yml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/Pages/Hexo.gitlab-ci.yml b/Pages/Hexo.gitlab-ci.yml
index 908463c..cc41224 100644
--- a/Pages/Hexo.gitlab-ci.yml
+++ b/Pages/Hexo.gitlab-ci.yml
@@ -1,17 +1,17 @@
 # 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:
+      - public
+      - node_modules
+    key: project
   only:
   - master
-- 
GitLab


From e0f8428c823ff82ad69453aa934c0c09427dd9c7 Mon Sep 17 00:00:00 2001
From: Mark Pundsack <mpundsack@gitlab.com>
Date: Wed, 15 Mar 2017 16:52:24 -0500
Subject: [PATCH 2/2] Don't cache public

---
 Pages/Hexo.gitlab-ci.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Pages/Hexo.gitlab-ci.yml b/Pages/Hexo.gitlab-ci.yml
index cc41224..02d0225 100644
--- a/Pages/Hexo.gitlab-ci.yml
+++ b/Pages/Hexo.gitlab-ci.yml
@@ -10,7 +10,6 @@ pages:
     - public
   cache:
     paths:
-      - public
       - node_modules
     key: project
   only:
-- 
GitLab