From 6bd24af2ffbea91db1b10a5d5258980ce2068c7f Mon Sep 17 00:00:00 2001 From: sadbeast Date: Tue, 16 Jul 2024 18:16:29 -0700 Subject: let's go --- bin/deploy.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 bin/deploy.sh (limited to 'bin/deploy.sh') 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" -- cgit v1.2.3