diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1030095..65988d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,6 +30,10 @@ deploy: - 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" "upnpc --help" - 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: - master \ No newline at end of file