试图建立一个有条件的编译在drone.yml,这里的外观:雄蜂条件建立
feature-dev-deployment:
when:
event: push
branches:
include: feature/*
exclude: master
上面的代码触发,每建而不管分支的名字,也为大师。
我想只在具有前缀'feature'(如:'feature/test/abc-123/desc')时才触发分支上的构建,并且不应触发其他模式和主构建。根据无人机0.5文档limit steps by branch,我假设我遵循正确的语法。