在Netlify上选择性地部署功能分支 [英] Selectively Deploy Feature Branches on Netlify

查看:86
本文介绍了在Netlify上选择性地部署功能分支的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在BitBucket上执行过程之后,我们始终会创建一个名为 feature/JIRA-23-lost-password ( JIRA-23-lost-password 只是一个例如),我们从中为每个子任务创建其他几个分支.

Following our process on BitBucket, we always create a feature branch named feature/JIRA-23-lost-password (JIRA-23-lost-password being just an example) from which we create several other branches per sub-task.

我希望netlify自动部署所有名为 feature/* 的分支,而不是全部部署从feature分支分支的所有分支.

I would like netlify to automatically deploy all branches that are named feature/* but not all the ones that branch from the feature branch.

有可能吗?

推荐答案

完全公开:我在Netlify工作.

Full disclosure: I work at Netlify.

这种细粒度控件目前不存在.目前可用的选项是:

This type of fine grained control doesn't exist currently. The options which are available at this time are:

  • 仅部署您选择的生产分支(仅一个分支-不必是 master )
  • 自动部署所有分支机构
  • 仅部署您选择的分支

听起来您正在寻找第四个选项(目前尚不存在该选项).我们有一个开放的功能请求,可以更精细地控制部署了哪些分支,如果/何时将此功能添加到我们的服务中,我们将在此处进行跟进.

It sounds like you are looking for a fourth option (one which doesn't exist at this time). We have an open feature request for more fine grained control of which branches are deployed and we'll follow-up here if/when this feature gets added to our service.

这篇关于在Netlify上选择性地部署功能分支的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆