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: