Update .gitlab-ci.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-05-23 19:29:22 +00:00
parent d1a01745bf
commit d8fe8c3ea7
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ deploy:
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
- rsync --dry-run -avz out/ "$SERVER_HOST":"$WPD_FOLDER" --delete --exclude bukkit - rsync --dry-run -avz out/ "$SERVER_HOST":"$WPD_FOLDER" --delete --exclude bukkit
- ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "say Reloading Resourcepacks"
- ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "minecraft:reload"
only: only:
- master - master
when: manual when: manual