git_repo_update
Change an Environment's repository, branch or folder.
Change an Environment’s repository, branch or folder.
| Access | Consequential change; requires confirmation |
| Same as | blossom git_repo:update |
Arguments
| Argument | Type | Description |
|---|---|---|
yes |
boolean | true once the person confirms. |
id |
string | Git source id. Required. |
data |
object | Only the Git source fields to change. Required. |
data.clone_url |
string | Repository URL. |
data.branch |
string | Branch to deploy. |
data.repository_type |
string | Repository type. |
data.subfolder |
string | Folder of a larger repository to deploy. |
data.git_provider_id |
string | Connected Git provider for a private repository. |
data.git_ssh_key_id |
string | Git SSH key. |
Example
{"id":"git_repo-100","data":{"branch":"main"},"yes":true}