use remote cipher, disable oauth, rename lavalink config to .yaml
This commit is contained in:
@@ -52,13 +52,13 @@ jobs:
|
||||
# Ship the compose file and Lavalink config to the server. .env and
|
||||
# catchphrases.txt live on the server and are intentionally not copied.
|
||||
# Plugins live in a named Docker volume (see docker-compose.yaml), so
|
||||
# only the lavalink/ dir for application.yml is needed here.
|
||||
# only the lavalink/ dir for application.yaml is needed here.
|
||||
ssh -i ~/.ssh/key $HOST "mkdir -p $DIR/lavalink"
|
||||
scp -i ~/.ssh/key docker-compose.yaml $HOST:"$DIR/docker-compose.yaml"
|
||||
scp -i ~/.ssh/key lavalink/application.yml $HOST:"$DIR/lavalink/application.yml"
|
||||
scp -i ~/.ssh/key lavalink/application.yaml $HOST:"$DIR/lavalink/application.yaml"
|
||||
|
||||
# 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.yml is re-read.
|
||||
# contents do. Restart it explicitly so application.yaml is re-read.
|
||||
ssh -i ~/.ssh/key $HOST \
|
||||
"cd $DIR && docker compose pull && docker compose up -d && docker compose restart lavalink"
|
||||
|
||||
Reference in New Issue
Block a user