diff options
| author | Samuel Wilhelmsson <samuel.wilhelmsson@gmail.com> | 2025-01-11 00:54:54 +0100 |
|---|---|---|
| committer | Samuel Wilhelmsson <samuel.wilhelmsson@gmail.com> | 2025-01-11 00:54:54 +0100 |
| commit | 7d4b7e629bd5a095148dfe448209b9ec1ee4643f (patch) | |
| tree | af5d5c9864b4cb525ad7023a14f3206570026230 | |
| parent | 1e104d0b85636ac01f1da555d6d60f2c9a6c73c7 (diff) | |
| download | tinygram-7d4b7e629bd5a095148dfe448209b9ec1ee4643f.tar.gz tinygram-7d4b7e629bd5a095148dfe448209b9ec1ee4643f.zip | |
add cleanup of binary
| -rw-r--r-- | .gitignore | 1 | ||||
| -rwxr-xr-x | deploy | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -2,3 +2,4 @@ *.db-shm *.db-wal index_templ.go +tinygram @@ -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") |
