feat: check version.json for latest available commit
This commit is contained in:
parent
e9bbbb8171
commit
bd1835f5a3
2 changed files with 22 additions and 9 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue