summaryrefslogtreecommitdiffstats
path: root/bin/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/deploy.sh')
-rwxr-xr-xbin/deploy.sh3
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"