deploy_binary.sh

This commit is contained in:
notplants 2021-12-06 17:49:04 +01:00
parent 3e7e0e7ae8
commit 95db71be61
3 changed files with 10 additions and 0 deletions

4
.cargo/config Normal file
View File

@ -0,0 +1,4 @@
[target.x86_64-unknown-linux-musl]
linker = "x86_64-unknown-linux-musl-gcc"
objcopy = { path ="x86_64-unknown-linux-musl-objcopy" }
strip = { path ="x86_64-unknown-linux-musl-strip" }

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ ns_tests/*.key
ns_tests/*
.DS_Store
bash
.idea

5
deploy_binary.sh Normal file
View File

@ -0,0 +1,5 @@
VERSION=0.1.0
scp -i ~/.ssh/do_rsa2 target/x86_64-unknown-linux-musl/release/peach-dyndns-server root@147.182.177.135:/srv/files.commoninternet.net/peach-dyndns-server_${VERSION}_Linux_x86_64