diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de64c3a..cdaee51 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file