This commit is contained in:
吴舒先 2024-05-30 17:17:53 +08:00
commit 06adfeb533
2 changed files with 31 additions and 0 deletions

30
.devops/刘德华.yml Normal file
View File

@ -0,0 +1,30 @@
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_key.ssh_key))
ssh_private_key: ((ssh_key.ssh_key))
ssh_ip: '"116.62.120.115"'
ssh_port: '"22"'
ssh_user: '""'
ssh_cmd: '"docker stop ghc_group6 && docker rm ghc_group6 && docker pull
registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_group6:latest
&& docker run -p 3000:3000 name ghc_group6
registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_group6:latest"'
needs:
- start
- ref: end
name: 结束
task: end
needs:
- ssh_cmd_0

1
test.md Normal file
View File

@ -0,0 +1 @@
### 测试文件