feat: .devops/trigger触发.yml

This commit is contained in:
somunslotus 2023-06-29 15:19:17 +08:00 committed by jianmu
parent 38fdd50c45
commit bb49935b18
1 changed files with 25 additions and 0 deletions

25
.devops/trigger触发.yml Normal file
View File

@ -0,0 +1,25 @@
version: 2
name: trigger触发
description: ""
global:
concurrent: 1
trigger:
webhook: gitlink@1.0.0
event:
- ref: push
ruleset-operator: AND
workflow:
- ref: start
name: 开始
task: start
- ref: shell_0
name: shell
image: docker.jianmuhub.com/library/alpine:3.17.0
needs:
- start
- ref: end
name: 结束
task: end
needs:
- shell_0