Update .gitlab-ci.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-06-08 00:29:09 +00:00
parent 5cb1bb27c0
commit 8b68548e66
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ deploy:
- 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 "minecraft:reload" - ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "minecraft:reload"
- ssh "$SERVER_HOST" "upnpc --help"
- ssh "$SERVER_HOST" "upnpc -a 10.0.0.140 22 2222 tcp" - 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"
only: only:
- master - master