feat(scripts): 增加重启dodo脚本

增加重启dodo脚本

Signed-off-by: Ching <loooching@gmail.com>
This commit is contained in:
Ching 2022-02-03 00:49:49 +08:00
parent 86fdc14b56
commit 219e7be4a6

5
scripts/restart_dodo.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
supervisorctl restart dodo && \
curl -X POST -H "Content-Type: application/json" \
-d '{"msg_type":"text","content":{"text":"🎉 dodo 部署成功 🎉"}}' \
https://open.feishu.cn/open-apis/bot/v2/hook/57cfa603-6154-4055-a739-210028171d10