summaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy4
1 files changed, 3 insertions, 1 deletions
diff --git a/deploy b/deploy
index 62fb075..3c5c89b 100755
--- a/deploy
+++ b/deploy
@@ -23,7 +23,6 @@
(def rsync-service [;rsync-path "-r" "assets" asset-target])
-
(print "-- building templ --")
($ templ generate)
@@ -60,6 +59,9 @@
(print "-- cleaning up service locally --")
($ rm "service/tinygram.service")
+(print "-- cleaning up binary --")
+($ rm "tinygram")
+
(print "-- restarting service --")
($ ssh ,ssh-target "sudo systemctl daemon-reload")
($ ssh ,ssh-target "sudo systemctl restart tinygram.service")