feat: .devops/未命名项目.yml

This commit is contained in:
xxq250 2023-02-06 09:36:14 +08:00 committed by jianmu
parent 1cb4693d10
commit ed2e0ad7d9
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
version: 2
name: 未命名项目
description: ""
global:
concurrent: 1
trigger:
webhook: gitlink@1.0.0
event:
- ref: push
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