From 32867185d20b92e3ce61b8f88358ffa0fb7626bc Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Tue, 25 Feb 2025 22:41:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20.devops/=E6=9C=AA=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/未命名项目.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .devops/未命名项目.yml diff --git a/.devops/未命名项目.yml b/.devops/未命名项目.yml new file mode 100644 index 0000000..31e48c8 --- /dev/null +++ b/.devops/未命名项目.yml @@ -0,0 +1,28 @@ +version: 2 +name: 未命名项目 +description: "" +global: + concurrent: 1 +workflow: + - ref: start + name: 开始 + task: start + - ref: ssh_cmd_0 + name: ssh执行命令 + task: ssh_cmd@1.1.1 + input: + ssh_pass: ((SSH.pcm1)) + ssh_ip: '"123.60.146.162"' + ssh_port: '"22"' + ssh_user: '"pcm"' + ssh_cmd: '"cd /home/pcm/deploy/cloudream/workspace/storage_yml&&chmod +x + 1_pull.sh 2_build_all.sh 3_deploy.sh&&sh 1_pull.sh&&sh + 2_build_all.sh&&sh 3_deploy.sh"' + needs: + - start + - ref: end + name: 结束 + task: end + needs: + - ssh_cmd_0 +