feat: .devops/testgitea环境.yml

This commit is contained in:
yystopf 2023-02-02 11:28:44 +08:00 committed by jianmu
parent 162ed35ac4
commit c22f20cc89
1 changed files with 34 additions and 0 deletions

View File

@ -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