feat: add update command to CLI, relay, and client
This commit is contained in:
parent
835d20f734
commit
6345209538
9 changed files with 302 additions and 0 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -123,6 +123,10 @@ jobs:
|
|||
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
|
||||
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 && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue