From 8b68548e66af1e06aedfc9fd2e2c00ad65a8ff6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Sat, 8 Jun 2019 00:29:09 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) 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