Update .gitlab-ci.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-08-08 06:26:34 +00:00
parent 3c9238ff74
commit bcd0e6cf7a
1 changed files with 1 additions and 1 deletions

View File

@ -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: