From 635aa4bb11de7d95d86160e18f5b77de1279c92b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Thu, 8 Aug 2019 06:00:23 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9aee4c8..e20279a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,7 +53,7 @@ deploy:datapacks: - chmod 644 ~/.ssh/known_hosts - cd datapacks - - rsync -avz out/ "$SERVER_HOST":"$WPD_FOLDER/world/datapacks" --delete --exclude bukkit + - rsync --dry-run -avz out/ "$SERVER_HOST":"$WPD_FOLDER/world/datapacks" --delete --exclude bukkit - ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "minecraft:reload" @@ -79,7 +79,7 @@ deploy:resourcepack: - chmod 644 ~/.ssh/known_hosts - cd resourcepack-out - - SHASUM= $(sha1sum resourcepack.zip | awk '{ print $1 }') + - 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") only: