From 586f4325718009f9d03a27a1ddc25266194cc708 Mon Sep 17 00:00:00 2001
From: Sebsterr <sebasman@stud.ntnu.no>
Date: Mon, 29 Oct 2018 23:39:07 +0100
Subject: [PATCH] hexo

---
 .gitlab-ci.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 15e45e5..21eba63 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,14 +1,12 @@
 image: node:8
 
 before_script:
+  - npm install hexo-cli -g
   - npm install
 
 pages:
   stage: deploy
-  script:
-    - mkdir .public
-    - cp -r * .public
-    - mv .public public
+  script: hexo deploy
   artifacts:
     paths:
       - public
-- 
GitLab