编程语言/Drone/trigger:修订间差异
来自康健生活
创建页面,内容为“== 标题文本 == <syntaxhighlight lang="yaml"> steps: - name: build # ... trigger: branch: - master include: - master - feature→exclude: - alpha/* ref: - refs/heads/master - refs/heads/** - refs/pull/:head event: - cron - custom - push - pull_request - tag - promote - rollback</syntaxhighlight>” |
|||
| 第1行: | 第1行: | ||
== 标题文本 == | == 标题文本 == | ||
* branch 当某个pull request以此分支作为目标分支时触发; | |||
* ref 基于Git引用有更新时触发; | |||
* event 当遇到某个事件时触发; | |||
<syntaxhighlight lang="yaml"> | <syntaxhighlight lang="yaml"> | ||
steps: | steps: | ||
2026年3月18日 (三) 15:54的版本
标题文本
- branch 当某个pull request以此分支作为目标分支时触发;
- ref 基于Git引用有更新时触发;
- event 当遇到某个事件时触发;
steps:
- name: build
# ...
trigger:
branch:
- master
include:
- master
- feature/*
exclude:
- alpha/*
ref:
- refs/heads/master
- refs/heads/**
- refs/pull/*/head
event:
- cron
- custom
- push
- pull_request
- tag
- promote
- rollback
No categories