deploys

Change a deploy’s settings

Changed on

Any of branch, root_dir, framework, port, health_path, install_cmd, build_cmd, start_cmd, auto_deploy; an Ingot repo also at (a changeset id, or null for the newest on main), and its branch stays main. The name cannot change. Changes apply from the next deploy; a port change moves its app and public URL and builds the live commit again. When the computer already has a URL on the new port, the one the deploy made goes and that build takes the one already there.

patch/api/computers/{id}/deploy-projects/{projectId}

Request

  • Base URL
    https://www.orgo.ai
  • Auth
    HTTP bearer

Path parameters

idstring required

Computer id.

projectIdstring uuid required

Deploy project id.

Request body

branchstring
root_dirstring
framework'auto' | 'node' | 'python' | 'dockerfile' | 'compose' | 'static'
portinteger
health_pathstring
install_cmdstring nullable
build_cmdstring nullable
start_cmdstring nullable
auto_deployboolean
atstring nullable

An Ingot repo’s only: the changeset a deploy builds when it names none; null is the newest on main.

Response

Changed.

idstring uuid required
namestring required

Also the name of the computer app that runs it.

source'github_app' | 'public' | 'ingot' required
repostring nullable required

Null for an Ingot repo.

repo_urlstring nullable
installation_idstring nullable
branchstring required

main for an Ingot repo.

ingot_repostring nullable

An Ingot repo: <workspace>/<name> on the central Ingot server.

ingot_atstring nullable

An Ingot repo’s: the changeset a deploy builds when it names none; null is the newest on main.

root_dirstring
framework'auto' | 'node' | 'python' | 'dockerfile' | 'compose' | 'static'
detected_frameworkstring nullable
install_cmdstring nullable
build_cmdstring nullable
start_cmdstring nullable
portinteger required
health_pathstring
auto_deployboolean
disabledstring nullable

Why pushes no longer deploy it.

urlstring nullable

Its public URL, made with its first live deploy where public URLs are on.

app_idstring nullable

Its app (GET /api/computers/{id}/services).

env_keysstring[]
created_atstring date-time
updated_atstring date-time

Example response

{
  "repo": "acme/web",
  "ingot_repo": "0b6f4c7e-2d1a-4c3b-9e8f-7a6b5c4d3e2f/notes"
}

Changes

    • info

      added the non-success response with the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • warning

      added the new ingot enum value to the response property for the response status

    • info

      added the new optional request property

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status