From d4d8fb0698ebfbe815c4ebd649c19570aa738fe6 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Mon, 30 Oct 2023 11:54:28 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20.devops/=E7=94=9F=E4=BA=A7=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=8F=91=E5=B8=83.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/生产环境发布.yml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.devops/生产环境发布.yml b/.devops/生产环境发布.yml index 5337e1c..edeadda 100644 --- a/.devops/生产环境发布.yml +++ b/.devops/生产环境发布.yml @@ -32,12 +32,12 @@ workflow: commit_id: '""' depth: 1 needs: - - start + - dingtalk_notice_text_0 - ref: end name: 结束 task: end needs: - - ssh_cmd_0 + - dingtalk_notice_text_1 - ref: scp_resource_0 name: scp替换打包文件到服务器 task: scp_resource@1.4.3 @@ -62,4 +62,24 @@ workflow: ssh_cmd: '"service nginx restart"' needs: - scp_resource_0 + - ref: dingtalk_notice_text_0 + name: 钉钉通知-开始更新 + task: dingtalk_notice_text@1.0.2 + input: + boot_webhook_url: ((dingdingtalk.url)) + msg_text: '"GitLink帮助中心-开始更新。。。"' + at_user_ids: '"[]"' + at_mobiles: '"[]"' + needs: + - start + - ref: dingtalk_notice_text_1 + name: 钉钉通知-更新完成 + task: dingtalk_notice_text@1.0.2 + input: + boot_webhook_url: ((dingdingtalk.url)) + msg_text: '"GitLink帮助中心-更新完成"' + at_user_ids: '"[]"' + at_mobiles: '"[]"' + needs: + - ssh_cmd_0