Update .gitlab-ci.yml
This commit is contained in:
parent
650f38e43c
commit
ab516d4613
|
@ -27,13 +27,8 @@ 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
|
||||||
|
|
||||||
- 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" 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:
|
only:
|
||||||
- master
|
- master
|
Loading…
Reference in New Issue