Version 4.0.25.2 (latest)
Deploy a Remote Branch or Ref to Production
Git must have been configured and deploy permission required.
Deploy is a one/two step process
- If this is the first deploy of this project, create the production project with git repository.
- Pull the branch or ref into the production project.
Can only specify either a branch or a ref.
Request
POST
/projects/{project_id}/deploy_ref_to_production
Datatype
Description
Request
path
Expand HTTP Path definition...
project_id
Id of project
query
Expand HTTP Query definition...
branch
Branch to deploy to production
ref
Ref to deploy to production
Response
Datatype
Description
(string)
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Datatype
Description
(object)
message
lock
Error details
errors
Expand ValidationErrorDetail definition...
field
lock
Field with error
code
lock
Error code
message
lock
Error info message
documentation_url
lock
Documentation link
documentation_url
lock
Documentation link
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link