Weekly update patch №5
pull / Save and backup minecraft world (push) Successful in 30s
pull / Pull repo to the mods directory (push) Successful in 7s
pull / Restart minecraft server (push) Successful in 36s

Create: Structures Arise v. 175.48.47 -> v. 176.49.48
Towns and Towers v. 1.13.7 -> v. 1.13.9
This commit is contained in:
LeterZP
2026-06-23 17:55:58 +03:00
parent f857d83618
commit daea395c88
4 changed files with 2 additions and 1 deletions
+2 -1
View File
@@ -70,7 +70,8 @@ jobs:
steps:
- name: main
run: |
docker exec ${{ env.CONTAINER_NAME }} rcon-cli say "Подъехала обнова модов. Рестарт сервера через 30 секунд."
docker exec ${{ env.CONTAINER_NAME }} rcon-cli 'tellraw @a {"text":"Подъехала ", "extra":[{"text":"обнова", "bold":true, "color":"green", "clickEvent":{"action":"open_url", "value":"https://gitea.aklivtsov.tech/LeterZP/TeStVISt-mods-server"}}, {"text":" модов. "}, {"text":"Рестарт", "bold":true, "color":"red"}, {"text":" сервера через "}, {"text":"30 секунд!", "bold":true, "color":"red"}]}'
docker exec ${{ env.CONTAINER_NAME }} rcon-cli 'title @a times 10 100 10' && docker exec mc-neoforge rcon-cli 'title @a title {"text":"Подъехала ", "extra":[{"text":"обнова", "bold":true, "color":"green"}, {"text":" модов."}]}' && docker exec mc-neoforge rcon-cli 'title @a subtitle {"text":"", "extra":[{"text":"Рестарт", "bold":true, "color":"red"}, {"text":" сервера через "}, {"text":"30 секунд!", "bold":true, "color":"red"}]}'
sleep 30
docker exec ${{ env.CONTAINER_NAME }} rcon-cli stop