re-enable oauth and restart bot after lavalink on deploy
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user