---
title: "ezgh build run"
description: "Run the working tree's build file now, without a push."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh build run

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh build run [--connection c] [--no-cache] [flags]
```

Run .ezgh/build.yaml of your checkout as it is on disk, uncommitted changes included, and follow it: each task's log as it runs, and for a failed task its exit code and the end of its log. The exit code is 1 unless the pipeline succeeds.

The files git would commit (tracked and untracked, not ignored) are uploaded to the project's registry and the run is on refs/local/&lt;branch&gt;: it reads what trusted runs have cached and writes only its own. `--no-cache` runs every task. Ctrl-C stops following and cancels nothing.

Part of [`ezgh build`](/cli/reference/build).

## Examples

```sh
ezgh build run
ezgh build run --no-cache --json
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--connection` | string |  | the connection, when the project has more than one |
| `--no-cache` | boolean |  | run every task, reusing nothing |

Inherited from parent commands:

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--dir` | string | `.` | the repository's checkout (any directory inside it) |
| `--json` | boolean |  | print JSON, as -o json does |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/build-run/index.mdx
