refactor: .devops/生产环境发布.yml

This commit is contained in:
xxq250 2023-10-30 11:32:49 +08:00 committed by jianmu
parent d8b7a009d4
commit b96039f842
1 changed files with 12 additions and 2 deletions

View File

@ -37,9 +37,9 @@ workflow:
name: 结束 name: 结束
task: end task: end
needs: needs:
- scp_resource_0 - ssh_cmd_0
- ref: scp_resource_0 - ref: scp_resource_0
name: scp替换文件 name: scp替换打包文件到服务器
task: scp_resource@1.4.3 task: scp_resource@1.4.3
input: input:
ssh_pass: ((help_pro_server.password)) ssh_pass: ((help_pro_server.password))
@ -51,4 +51,14 @@ workflow:
file_content: '""' file_content: '""'
needs: needs:
- nodejs_build_0 - nodejs_build_0
- ref: ssh_cmd_0
name: ssh执行命令
task: ssh_cmd@1.1.1
input:
ssh_ip: '""'
ssh_port: '"22"'
ssh_user: '"root"'
ssh_cmd: '""'
needs:
- scp_resource_0