diff options
author | sadbeast <sadbeast@sadbeast.com> | 2024-07-16 18:16:29 -0700 |
---|---|---|
committer | sadbeast <sadbeast@sadbeast.com> | 2024-10-05 16:40:55 -0700 |
commit | 6bd24af2ffbea91db1b10a5d5258980ce2068c7f (patch) | |
tree | 66634833f2d45260be5fcaf9111400eda12f03cc /bin | |
download | teamdraft-main.tar.gz teamdraft-main.tar.bz2 |
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/deploy.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/deploy.sh b/bin/deploy.sh new file mode 100755 index 0000000..803ab64 --- /dev/null +++ b/bin/deploy.sh @@ -0,0 +1,3 @@ +zig build -Doptimize=ReleaseFast +scp -r zig-out/bin/* teamdraft: +ssh teamdraft -C "sudo systemctl stop teamdraft && sudo cp ./{teamdraft,scorecorder} /home/teamdraft/ && sudo systemctl start teamdraft" |