From d64904d399bd62fe844b768a56a2ae9214829f99 Mon Sep 17 00:00:00 2001
From: mazenovi <vmazenod@gmail.com>
Date: Thu, 21 Sep 2017 17:08:07 +0200
Subject: [PATCH] fix no space left on device

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 85a9567..87338cb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,6 @@ cache:
     - output/ # Node modules and dependencies
 
 before_script:
-  - apt-get update
   - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
   - eval $(ssh-agent -s)
   - ssh-add <(echo "$SSH_PRIVATE_KEY")
@@ -15,7 +14,8 @@ before_script:
 build:
   stage: build
   script:
-    - apt-get install -y --force-yes build-essential python-dev python-pip
+    - apt-get install -y --force-yes build-essential python-dev python-pip git
+    - git submodule update --recursive --remote
     - pip install --editable .
     - pelican content
 
-- 
GitLab