Update .gitlab-ci.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-08-08 06:51:23 +00:00
parent 5eb52e121e
commit 7df7b4567e
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 "minecraft:say SERVER RESTART IN 2 MINUTES" - ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft 'minecraft:say SERVER BLABLA IN 2 MINUTES'
only: only:
refs: refs: