Update .gitlab-ci.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-08-08 06:59:34 +00:00
parent 46933bb4b7
commit bc6ee171ff
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ restart:
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- chmod 644 ~/.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: only:
refs: refs: