summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorstale <redkugelblitzin@gmail.com>2022-04-30 17:32:53 -0300
committerstale <redkugelblitzin@gmail.com>2022-04-30 17:32:53 -0300
commitc9272f5580b00180738eb6dde623ea0abb37f7af (patch)
tree2659ae18c11ea3c08801bd0ad4aa6bd680aef9e9 /deploy.sh
parent9987d7abf6acd647b4a3a00c20d15f716dce653c (diff)
lazy sync
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..e4244ea
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cargo build --release --target x86_64-unknown-linux-musl && \
+ strip target/x86_64-unknown-linux-musl/release/websweeper && \
+ rsync --progress page.html root@masba.net:/srv/www/tooling/
+ rsync --progress target/x86_64-unknown-linux-musl/release/websweeper root@masba.net:/srv/www/tooling/