Fix multiplayer responsiveness for viewer
All checks were successful
Deploy Feature / deploy-feature (push) Successful in 26s
All checks were successful
Deploy Feature / deploy-feature (push) Successful in 26s
This commit is contained in:
@@ -44,3 +44,13 @@ jobs:
|
||||
mkdir -p /www/jeopardy-test
|
||||
find /www/jeopardy-test -mindepth 1 -maxdepth 1 -exec rm -rf {} +
|
||||
cp -r /repos/music-jeopardy/dist/. /www/jeopardy-test/
|
||||
- name: Restart realtime service (if available)
|
||||
run: |
|
||||
set -e
|
||||
if command -v systemctl >/dev/null 2>&1; then
|
||||
systemctl daemon-reload
|
||||
systemctl enable --now music-jeopardy-realtime.service
|
||||
systemctl restart music-jeopardy-realtime.service
|
||||
else
|
||||
echo "systemctl not available in this runner container. Restart on host manually."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user