Cloud Deploy
Deploy project to the Agentuity Cloud
Prerequisites
- Authenticated with
agentuity auth login - Project context required (run from project directory or use
--project-id) - auth login
Usage
agentuity cloud deploy [options]
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--logsUrl |
string | Yes | - | The url to the CI build logs |
--trigger |
string | No | "cli" |
The trigger that caused the build |
--event |
string | No | "manual" |
The event that triggered the deployment |
--pullRequestNumber |
number | Yes | - | the pull request number |
--pullRequestUrl |
string | Yes | - | the pull request url |
--message |
string | Yes | - | The message to associate with this build |
--commit |
string | Yes | - | The git commit SHA |
--branch |
string | Yes | - | The git branch |
--repo |
string | Yes | - | The git repo URL |
--provider |
string | Yes | - | The git provider (github, gitlab, bitbucket) |
--commitUrl |
string | Yes | - | The URL to the commit |
--reportFile |
string | Yes | - | file path to save build report JSON with errors, warnings, and diagnostics |
--childMode |
boolean | No | false |
Internal: run as forked child process |
Examples
Deploy current project:
bunx @agentuity/cli cloud deploy
Deploy with verbose output:
bunx @agentuity/cli cloud deploy --log-level=debug
Output
Returns JSON object:
{
"success": "boolean",
"deploymentId": "string",
"projectId": "string",
"logs": "array",
"urls": "object"
}
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether deployment succeeded |
deploymentId |
string | Deployment ID |
projectId |
string | Project ID |
logs |
array | The deployment startup logs |
urls |
object | Deployment URLs |