From 9b9e9d802bd7b8fe15e66c678e31fcd6d9a100d2 Mon Sep 17 00:00:00 2001 From: Dominik Pfennig <dominik@suma-ev.de> Date: Tue, 3 May 2016 15:14:31 +0200 Subject: [PATCH] Bugfix --- .gitlab-ci.yml | 2 +- deploy/checkServerStatus.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d2a23c774..d1d9698d9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ update: # Pfad zum neu geklonten Repo - path=`pwd` - cd ~/ - - $path/deploy/checkServerStatus.sh + - $path/deploy/checkServerStatus.sh "$path" script: - cd ~/MetaGer - git pull "$path" diff --git a/deploy/checkServerStatus.sh b/deploy/checkServerStatus.sh index b450a34d8..d038728d9 100755 --- a/deploy/checkServerStatus.sh +++ b/deploy/checkServerStatus.sh @@ -1,3 +1,4 @@ +path="$1" # Klone das Repo neu, falls es noch nicht existiert if [ ! -d ~/MetaGer ] then -- GitLab