summaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
authorSamuel Wilhelmsson <samuel.wilhelmsson@gmail.com>2025-01-11 00:54:54 +0100
committerSamuel Wilhelmsson <samuel.wilhelmsson@gmail.com>2025-01-11 00:54:54 +0100
commit7d4b7e629bd5a095148dfe448209b9ec1ee4643f (patch)
treeaf5d5c9864b4cb525ad7023a14f3206570026230 /deploy
parent1e104d0b85636ac01f1da555d6d60f2c9a6c73c7 (diff)
downloadtinygram-7d4b7e629bd5a095148dfe448209b9ec1ee4643f.tar.gz
tinygram-7d4b7e629bd5a095148dfe448209b9ec1ee4643f.zip
add cleanup of binary
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")