From fc5346adedf75113124d5e96598d0ce1eb7c6490 Mon Sep 17 00:00:00 2001
From: laurentheirendt <laurent.heirendt@uni.lu>
Date: Mon, 24 Jun 2019 11:15:07 +0200
Subject: [PATCH] change of order of commands

---
 .ci/deploy.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.ci/deploy.sh b/.ci/deploy.sh
index 05960113..52e32e27 100644
--- a/.ci/deploy.sh
+++ b/.ci/deploy.sh
@@ -34,13 +34,14 @@ do
                 # change to the blade directory to be built
                 cd $BLADE
 
-                # install npm
-                yarn add -g yo grunt-cli generator-reveal
-                yarn
-
                 # build the unstable version - can be optimized
                 git config submodule.theme.url https://$CI_DEPLOY_USER:$CI_DEPLOY_PASSWORD@git-r3lab.uni.lu/R3/outreach/theme.git
                 git submodule update --recursive --init
+
+                # install npm
+                yarn add -g grunt-cli generator-reveal
+                yarn
+
                 grunt dist
                 mv public/* $rootDir/public/$BLADE/unstable/.
                 echo " > unstable built for file set ${BLADE}"
-- 
GitLab