summaryrefslogtreecommitdiff
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
parent1e104d0b85636ac01f1da555d6d60f2c9a6c73c7 (diff)
downloadtinygram-7d4b7e629bd5a095148dfe448209b9ec1ee4643f.tar.gz
tinygram-7d4b7e629bd5a095148dfe448209b9ec1ee4643f.zip
add cleanup of binary
-rw-r--r--.gitignore1
-rwxr-xr-xdeploy4
2 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 46da4fd..b8baebd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
*.db-shm
*.db-wal
index_templ.go
+tinygram
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")