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"
|
||||
|
||||
@@ -50,11 +50,7 @@ plugins:
|
||||
# so the device flow is skipped on every later start.
|
||||
#
|
||||
# Use a throwaway Google account. Google does ban accounts for this.
|
||||
#
|
||||
# Off for now: TV clears the login check anonymously for ordinary tracks,
|
||||
# so a token only buys age-restricted ones. Flip to true (and do the
|
||||
# device flow) if those turn out to matter.
|
||||
enabled: false
|
||||
enabled: true
|
||||
|
||||
# YouTube serves some regions a localized player script the plugin can't
|
||||
# parse, which fails playback with "must find sig function". Hand the
|
||||
|
||||
Reference in New Issue
Block a user