Update .gitlab-ci.yml
This commit is contained in:
parent
f307a8bde2
commit
073bb8ea6d
|
@ -28,6 +28,7 @@ deploy:
|
||||||
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
|
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
|
||||||
- chmod 644 ~/.ssh/known_hosts
|
- chmod 644 ~/.ssh/known_hosts
|
||||||
|
|
||||||
|
- cd datapacks
|
||||||
- rsync -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" mcrcon -H localhost -p minecraft "minecraft:reload"
|
||||||
|
|
Loading…
Reference in New Issue