From 0e7d86f357670d2f5b6050128fe0b6fbde224747 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Sat, 11 May 2024 07:33:33 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20.devops/=E3=80=90=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E3=80=91=E5=90=88=E5=B9=B6=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E9=80=9A=E8=BF=87=E5=90=8E=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0?= =?UTF-8?q?.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...¢ƒã€‘åˆå¹¶è¯·æ±‚通过åŽè‡ªåŠ¨æ›´æ–°.yml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .devops/ã€æµ‹è¯•环境】åˆå¹¶è¯·æ±‚通过åŽè‡ªåŠ¨æ›´æ–°.yml diff --git a/.devops/ã€æµ‹è¯•环境】åˆå¹¶è¯·æ±‚通过åŽè‡ªåŠ¨æ›´æ–°.yml b/.devops/ã€æµ‹è¯•环境】åˆå¹¶è¯·æ±‚通过åŽè‡ªåŠ¨æ›´æ–°.yml new file mode 100644 index 0000000..fb414de --- /dev/null +++ b/.devops/ã€æµ‹è¯•环境】åˆå¹¶è¯·æ±‚通过åŽè‡ªåŠ¨æ›´æ–°.yml @@ -0,0 +1,35 @@ +version: 2 +name: ã€æµ‹è¯•环境】åˆå¹¶è¯·æ±‚通过åŽè‡ªåŠ¨æ›´æ–° +description: åˆå¹¶è¯·æ±‚通过åŽè‡ªåŠ¨æ›´æ–° +global: + concurrent: 1 +trigger: + webhook: gitlink@1.0.0 + event: + - ref: pr + ruleset: + - param-ref: merged + operator: EQ + value: "true" + ruleset-operator: AND +workflow: + - ref: start + name: 开始 + task: start + - ref: ssh_cmd_0 + name: ssh执行命令 + task: ssh_cmd@1.1.1 + input: + ssh_pass: ((hnxjy_test_83.password)) + ssh_ip: '"111.8.36.180"' + ssh_port: '"120"' + ssh_user: '"root"' + ssh_cmd: '"cd /root/docusaurus/config/dir/awesometic-docs && git pull"' + needs: + - start + - ref: end + name: ç»“æŸ + task: end + needs: + - ssh_cmd_0 +