From bc6ee171ff84bfcfcaf1f0ef82ca079212c0e700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Thu, 8 Aug 2019 06:59:34 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b80ed5..1a32c6e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -109,7 +109,7 @@ restart: - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - - ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft 'tellraw @a ["",{"text":"[ANNOUNCEMENT] ","color":"light_purple","bold":true},{"text":"Server restart in 2 minutes","color":"light_purple","bold":false}]' + - ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "save-all restart" only: refs: