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
|
# Lavalink's config is a bind mount, and compose only recreates a
|
||||||
# service when its own config changes — not when a mounted file's
|
# 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 \
|
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.
|
# so the device flow is skipped on every later start.
|
||||||
#
|
#
|
||||||
# Use a throwaway Google account. Google does ban accounts for this.
|
# Use a throwaway Google account. Google does ban accounts for this.
|
||||||
#
|
enabled: true
|
||||||
# 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
|
|
||||||
|
|
||||||
# YouTube serves some regions a localized player script the plugin can't
|
# YouTube serves some regions a localized player script the plugin can't
|
||||||
# parse, which fails playback with "must find sig function". Hand the
|
# parse, which fails playback with "must find sig function". Hand the
|
||||||
|
|||||||
Reference in New Issue
Block a user