Update .gitlab-ci.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-06-10 00:30:29 +00:00
parent 650f38e43c
commit ab516d4613
1 changed files with 1 additions and 6 deletions

View File

@ -27,13 +27,8 @@ deploy:
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- rsync --dry-run -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" "upnpc -a 10.0.0.140 22 2222 tcp"
- ssh "$SERVER_HOST" "upnpc -a 10.0.0.140 22 2223 tcp"
- ssh "$SERVER_HOST" "upnpc -r 22 tcp"
- ssh "$SERVER_HOST" "upnpc -L"
- ssh "$SERVER_HOST" "upnpc --help"
only:
- master