/
CU
cube-js
/
Cube Platform API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Checked 50m ago · Updated 3d ago
Details
Filter operations
App Theme
1
Dashboard Embed Access
2
Data Model
15
Data Model Uploads
4
dbt Sync
6
Deployment Creation
1
Deployments
12
Embed
5
Embed Tenants
11
Env Variables
2
Environments
4
Folders
5
GitHub
4
GitHub Connection
1
post
Connect a deployment to a GitHub repository and trigger a build
Notifications
8
OAuth Integrations
5
OIDC Token Configs
5
OpenAPI Spec
1
Regions
1
Reports
9
Tenant Settings
2
User Attribute Values
2
User Attributes
3
User OAuth Tokens
4
Users Admin
4
Workbooks
9
Workspace
5
GitHub Connection
Connect a deployment to a GitHub repository and trigger a build
post
/build/api/v1/deployments/{deploymentId}/github/connect
Path parameters
deploymentId
integer
required
Request body
ConnectGitHubRequest
required
deployBranchName
string
nullable
deployProjectRoot
string
nullable
installationId
integer
required
isNewRepo
boolean
nullable
name
string
required
private
boolean
nullable
Response
Deployment
required
creationStep
'project'
|
'upload'
|
'schema'
|
'github'
|
'ssh'
|
'databases'
|
'ready'
|
'demo'
required
deploymentUrl
string
required
id
integer
required
name
string
required
Changes