From f239be26c28977359afdd77c5f8259469edf15ac Mon Sep 17 00:00:00 2001 From: laurentheirendt <laurent.heirendt@uni.lu> Date: Thu, 9 Jul 2020 13:40:22 +0200 Subject: [PATCH] move sm update outside loop --- .ci/deploy.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.ci/deploy.sh b/.ci/deploy.sh index cf2904ae..0b5f5944 100644 --- a/.ci/deploy.sh +++ b/.ci/deploy.sh @@ -17,6 +17,10 @@ else version="unstable"; fi +# build the unstable version - can be optimized +git config submodule.theme.url https://$CI_DEPLOY_USER:$CI_DEPLOY_PASSWORD@git-r3lab.uni.lu/R3-core/outreach/theme.git +git submodule update --recursive --init + # add matomo sed -i "/matomohead/r./.ci/analytics/head.html" theme/templates/_index.html sed -i "/matomopolicy/r./.ci/analytics/policy.html" theme/templates/_index.html @@ -43,9 +47,7 @@ do # change to the blade directory to be built cd $BLADE - # build the unstable version - can be optimized - git config submodule.theme.url https://$CI_DEPLOY_USER:$CI_DEPLOY_PASSWORD@git-r3lab.uni.lu/R3-core/outreach/theme.git - git submodule update --recursive --init + # run contribute cp ../../template/Gruntfile.coffee . -- GitLab