From 50e93a835368b2b2f4f3adbb2e4d34c38358e121 Mon Sep 17 00:00:00 2001 From: Douglas Parsons Date: Wed, 16 Nov 2022 07:25:46 +0000 Subject: [PATCH] Add missing field to project data source --- docs/data-sources/project.md | 1 + vercel/data_source_project.go | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/docs/data-sources/project.md b/docs/data-sources/project.md index 0933b3da..d60611f6 100644 --- a/docs/data-sources/project.md +++ b/docs/data-sources/project.md @@ -72,6 +72,7 @@ Read-Only: Read-Only: +- `production_branch` (String) By default, every commit pushed to the main branch will trigger a Production Deployment instead of the usual Preview Deployment. You can switch to a different branch here. - `repo` (String) The name of the git repository. For example: `vercel/next.js`. - `type` (String) The git provider of the repository. Must be either `github`, `gitlab`, or `bitbucket`. diff --git a/vercel/data_source_project.go b/vercel/data_source_project.go index d6732c37..b6a6a3a0 100644 --- a/vercel/data_source_project.go +++ b/vercel/data_source_project.go @@ -147,6 +147,11 @@ For more detailed information, please see the [Vercel documentation](https://ver Type: types.StringType, Computed: true, }, + "production_branch": { + Description: "By default, every commit pushed to the main branch will trigger a Production Deployment instead of the usual Preview Deployment. You can switch to a different branch here.", + Type: types.StringType, + Computed: true, + }, }), }, "id": {