SiteSourceControl interface
應用程式的原始檔控制組態。
- Extends
屬性
| branch | 要用於部署的分支名稱。 |
| deployment |
|
| git |
如果已選取 GitHub Action,則比相關聯的組態還要多。 |
| is |
如果這是透過 GitHub 動作部署, |
| is |
|
| is |
|
| repo |
存放庫或原始檔控制 URL。 |
繼承的屬性
| id | 資源標識碼。注意:此屬性將不會串行化。 它只能由伺服器填入。 |
| kind | 資源種類。 |
| name | 資源名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| type | 資源類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
屬性詳細資料
branch
要用於部署的分支名稱。
branch?: string
屬性值
string
deploymentRollbackEnabled
true 啟用部署復原;否則,false。
deploymentRollbackEnabled?: boolean
屬性值
boolean
gitHubActionConfiguration
如果已選取 GitHub Action,則比相關聯的組態還要多。
gitHubActionConfiguration?: GitHubActionConfiguration
屬性值
isGitHubAction
如果這是透過 GitHub 動作部署,true。
isGitHubAction?: boolean
屬性值
boolean
isManualIntegration
true 限制為手動整合;false 啟用持續整合(其會將 Webhook 設定為 GitHub 等在線存放庫)。
isManualIntegration?: boolean
屬性值
boolean
isMercurial
true 水星存放庫;Git 存放庫的 false。
isMercurial?: boolean
屬性值
boolean
repoUrl
存放庫或原始檔控制 URL。
repoUrl?: string
屬性值
string