feat: check version.json for latest available commit

This commit is contained in:
Helios Agent 2026-03-06 15:20:26 +01:00
parent e9bbbb8171
commit bd1835f5a3
No known key found for this signature in database
GPG key ID: C8259547CD8309B5
2 changed files with 22 additions and 9 deletions

View file

@ -124,6 +124,10 @@ jobs:
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
# Write version.json so CLI knows what's available
echo "{\"commit\":\"$(git rev-parse --short HEAD)\"}" > version.json
scp -i ~/.ssh/deploy_key version.json \
root@46.225.185.232:/var/www/helios-remote/version.json
build-cli:
runs-on: ubuntu-latest