Newshot

预览构建现已支持“仅拉取请求”预设

AI summary

新的 Ignored Build Step 预设可让没有开启拉取请求的分支跳过预览构建,而生产部署以及已开启拉取请求的分支的预览仍会照常构建。在 GitHub 和 GitLab 项目上,被跳过的预览部署会在消耗任何 Build CPU Minutes 之前被取消。启用方式:打开项目的 Deployments > Configuration,在 Ignored Build Step 下的 Behavior 菜单中选择 Only build previews for pull requests 并点击 Save,详见 Ignored Build Step 文档。

Translation(model translation, not the source's own text)

预览构建新增仅拉取请求预设

新的 Ignored Build Step 预设可让你跳过没有开启拉取请求的分支的预览构建。生产部署以及已开启拉取请求的分支的预览仍会照常构建。

在 GitHub 和 GitLab 项目上,被跳过的预览部署会在消耗任何 Build CPU Minutes 之前被取消。

要启用此功能,请打开项目的 Deployments > Configuration。在 Ignored Build Step 下,从 Behavior 菜单中选择 Only build previews for pull requests,然后点击 Save。

仅拉取请求预设会自动填入忽略命令。
仅拉取请求预设会自动填入忽略命令。
仅拉取请求预设会自动填入忽略命令。
仅拉取请求预设会自动填入忽略命令。
仅拉取请求预设会自动填入忽略命令。
仅拉取请求预设会自动填入忽略命令。
仅拉取请求预设会自动填入忽略命令。
仅拉取请求预设会自动填入忽略命令。

在 Ignored Build Step 文档中了解更多。

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗