re-enable oauth and restart bot after lavalink on deploy
CI/CD / build (push) Successful in 46s
CI/CD / deploy (push) Successful in 14s

This commit is contained in:
2026-08-30 14:53:50 +02:00
parent 81bab82b36
commit 178f222fa1
2 changed files with 6 additions and 7 deletions
+5 -2
View File
@@ -59,6 +59,9 @@ jobs:
# Lavalink's config is a bind mount, and compose only recreates a
# service when its own config changes — not when a mounted file's
# contents do. Restart it explicitly so application.yaml is re-read.
# contents do. Restart it explicitly so application.yaml is re-read,
# then restart the bot after it: depends_on only orders startup, so
# otherwise the bot keeps a dead node and every /play fails with
# "Node main is unavailable".
ssh -i ~/.ssh/key $HOST \
"cd $DIR && docker compose pull && docker compose up -d && docker compose restart lavalink"
"cd $DIR && docker compose pull && docker compose up -d && docker compose restart lavalink && docker compose restart bot"