Update .gitlab-ci.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-07-31 00:29:45 +00:00
parent f307a8bde2
commit 073bb8ea6d
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ deploy:
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
- cd datapacks
- rsync -avz out/ "$SERVER_HOST":"$WPD_FOLDER" --delete --exclude bukkit - rsync -avz out/ "$SERVER_HOST":"$WPD_FOLDER" --delete --exclude bukkit
- ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "minecraft:reload" - ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "minecraft:reload"