---
title: "ezgh build"
description: "Build: run a repository's .ezgh/build.yaml, skipping what hasn't changed."
---

> 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

{/* 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 <command>
```

EZGH Build runs the tasks in a repository's .ezgh/build.yaml when it is pushed to, each in its own sandbox, and skips every task whose inputs haven't changed.

`ezgh build validate` checks the file and `ezgh build plan` says what a push would run, both from your checkout. `ezgh build run` runs your working tree as it is, without a push.

Everything is in a project (`--project`, `EZGH_PROJECT` or the profile's). &lt;connection&gt; is its ID (bcn\_…) or name; with one connection in the project it needn't be given.

## Flags

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

## Subcommands

| Command | Description |
| --- | --- |
| [`ezgh build connections`](/cli/reference/build-connections) | Connections: the repositories a project builds |
| [`ezgh build logs`](/cli/reference/build-logs) | Show a pipeline's failed tasks: exit code and the end of each log |
| [`ezgh build pipelines`](/cli/reference/build-pipelines) | Pipelines: the runs of a connection's build file |
| [`ezgh build plan`](/cli/reference/build-plan) | Say what a run would do, task by task |
| [`ezgh build rerun`](/cli/reference/build-rerun) | Run a pipeline's commit again |
| [`ezgh build run`](/cli/reference/build-run) | Run the working tree's build file now, without a push |
| [`ezgh build validate`](/cli/reference/build-validate) | Check a build file |
| [`ezgh build wait`](/cli/reference/build-wait) | Follow a pipeline to its end |

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