From c889d2d9503b54fcf6e2ae7cc0baeed2098e010c Mon Sep 17 00:00:00 2001 From: 007 Date: Sun, 29 Sep 2024 18:25:29 +0330 Subject: [PATCH] fix: update deploy script --- config/deploy.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/deploy.sh b/config/deploy.sh index 0bc6ba5..292478c 100755 --- a/config/deploy.sh +++ b/config/deploy.sh @@ -61,6 +61,11 @@ fi if check_diff "src/*"; then echo "$EG cargo build" cargo build --release + echo $SPACER +fi + +if check_diff "src/* templates/*"; then + echo "$EG restart heydari" systemctl restart heydari echo $SPACER fi