仅手动触发作为 yaml 中的预部署条件

Manual only trigger as pre-deployment condition in yaml

是否可以在yaml中的特定环境中将预部署条件设置为'Manual only'?

Is it possible to set pre-deployment condition as 'Manual only' in specific environments in yaml?

据我所知,'Manual only' 条件在 yaml 管道中尚不支持,这是目前仅在经典 UI 管道中可用的一个选项。尽管发布经典管道中的阶段和 Yaml 中的阶段都支持条件,但它们实际上表现不同,我们不能在 yaml 中使用 'manual only'。

不确定您在 yaml 中使用该选项的预期情况,请检查产品团队是否related discussion in our User Voice forum matches your needs. If so, the new feature which lets us mark a stage as "always start manually" is on our roadmap now. See latest news

如果上述新功能不能很好地满足您的需求,请随时post您的feature request分享您对 Azure Devops 的反馈。然后你可以在这里分享 link 并且对此感兴趣的成员会投票给你。更多的选票可以增加它的优先级,产品团队会认真考虑它。

希望对您有所帮助。