diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38eee93..bd8f473 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,17 +120,10 @@ jobs: echo "$VPS_SSH_KEY" > ~/.ssh/deploy_key chmod 600 ~/.ssh/deploy_key ssh-keyscan -H 46.225.185.232 >> ~/.ssh/known_hosts - scp -i ~/.ssh/deploy_key \ - 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 + # Only publish to download URL — relay updates itself when triggered by CLI scp -i ~/.ssh/deploy_key \ target/x86_64-unknown-linux-gnu/release/helios-remote-relay \ 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: runs-on: ubuntu-latest