fix: CI no longer auto-restarts relay; update only via CLI

This commit is contained in:
Helios Agent 2026-03-06 14:59:58 +01:00
parent bd9b92c861
commit e15834c179
No known key found for this signature in database
GPG key ID: C8259547CD8309B5

View file

@ -120,17 +120,10 @@ jobs:
echo "$VPS_SSH_KEY" > ~/.ssh/deploy_key echo "$VPS_SSH_KEY" > ~/.ssh/deploy_key
chmod 600 ~/.ssh/deploy_key chmod 600 ~/.ssh/deploy_key
ssh-keyscan -H 46.225.185.232 >> ~/.ssh/known_hosts ssh-keyscan -H 46.225.185.232 >> ~/.ssh/known_hosts
scp -i ~/.ssh/deploy_key \ # Only publish to download URL — relay updates itself when triggered by CLI
target/x86_64-unknown-linux-gnu/release/helios-remote-relay \
root@46.225.185.232:/opt/helios-remote/target/release/helios-remote-relay-new
# Also publish relay binary to download URL for self-update
scp -i ~/.ssh/deploy_key \ scp -i ~/.ssh/deploy_key \
target/x86_64-unknown-linux-gnu/release/helios-remote-relay \ target/x86_64-unknown-linux-gnu/release/helios-remote-relay \
root@46.225.185.232:/var/www/helios-remote/helios-remote-relay-linux root@46.225.185.232:/var/www/helios-remote/helios-remote-relay-linux
ssh -i ~/.ssh/deploy_key root@46.225.185.232 \
"mv /opt/helios-remote/target/release/helios-remote-relay-new \
/opt/helios-remote/target/release/helios-remote-relay && \
systemctl restart helios-remote"
build-cli: build-cli:
runs-on: ubuntu-latest runs-on: ubuntu-latest