From c22f20cc89833441ef811549833fa7420398564d Mon Sep 17 00:00:00 2001 From: yystopf Date: Thu, 2 Feb 2023 11:28:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20.devops/testgitea=E7=8E=AF=E5=A2=83.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/testgitea环境.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .devops/testgitea环境.yml diff --git a/.devops/testgitea环境.yml b/.devops/testgitea环境.yml new file mode 100644 index 0000000..21625d2 --- /dev/null +++ b/.devops/testgitea环境.yml @@ -0,0 +1,34 @@ +version: 2 +name: testgitea环境 +description: "" +global: + concurrent: 1 +trigger: + webhook: gitlink@1.0.0 + event: + - ref: push + ruleset: + - param-ref: branch + operator: EQ + value: '"develop"' + ruleset-operator: AND +workflow: + - ref: start + name: 开始 + task: start + - ref: ssh_cmd_0 + name: ssh执行命令 + task: ssh_cmd@1.1.0 + input: + ssh_ip: '""' + ssh_port: '"22"' + ssh_user: '"root"' + ssh_cmd: '""' + needs: + - start + - ref: end + name: 结束 + task: end + needs: + - ssh_cmd_0 +