Skip to content

Commit 70a66b1

Browse files
committed
ci: use systemd to restart telegram-bot for safe single-instance deployment
1 parent a786111 commit 70a66b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
script: |
2424
cd /opt/savemessage_telegram
2525
git pull origin main
26-
bash restart_bot.sh
26+
sudo systemctl restart telegram-bot

0 commit comments

Comments
 (0)