From bcd0e6cf7a51d866281f73ee4204e32025341df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Thu, 8 Aug 2019 06:26:34 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 922b756..5db48d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -80,7 +80,7 @@ deploy:resourcepack: - cd resourcepack-out - SHASUM=$(sha1sum resourcepack.zip | awk '{ print $1 }') - - ssh "$SERVER_HOST" '(cd "WPD_FOLDER" && sed-i server.properties "s/resource-pack-sha1=.*/resource-pack-sha1=$SHASUM")' + - ssh "$SERVER_HOST" sed -i "WPD_FOLDER"/server.properties "s/resource-pack-sha1=.*/resource-pack-sha1=$SHASUM" only: refs: