From 219e7be4a6b408684ea44b7d44c6972814398040 Mon Sep 17 00:00:00 2001 From: Ching Date: Thu, 3 Feb 2022 00:49:49 +0800 Subject: [PATCH] =?UTF-8?q?feat(scripts):=20=E5=A2=9E=E5=8A=A0=E9=87=8D?= =?UTF-8?q?=E5=90=AFdodo=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加重启dodo脚本 Signed-off-by: Ching --- scripts/restart_dodo.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 scripts/restart_dodo.sh diff --git a/scripts/restart_dodo.sh b/scripts/restart_dodo.sh new file mode 100644 index 0000000..9b484cb --- /dev/null +++ b/scripts/restart_dodo.sh @@ -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