use remote cipher, disable oauth, rename lavalink config to .yaml
CI/CD / build (push) Successful in 46s
CI/CD / deploy (push) Successful in 14s

This commit is contained in:
2026-08-30 13:27:00 +02:00
parent a299eca732
commit 81bab82b36
4 changed files with 23 additions and 12 deletions
+3 -3
View File
@@ -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"