Add release script

This commit is contained in:
Reimar 2024-08-13 09:29:25 +02:00
parent c37fe5d559
commit 098e797d90

5
API/release.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
dotnet publish -r linux-arm64 -p:PublishSingleFile=true --self-contained false
rsync -vu bin/Release/net8.0/linux-arm64/publish/* reimar@reim.ar:/home/reimar/skantravels
ssh -t reimar@reim.ar "systemctl restart skantravels"