---
title: "ezgh workflows apps sync"
description: "Sync a push app: learn the workflows its endpoint serves."
---

> 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 workflows apps sync

{/* 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 workflows apps sync <app> [--endpoint url] [--deployment label] [flags]
```

Send a signed sync request to a push app's endpoint (`--endpoint`, else the app's) and record the workflows the SDK reports. The endpoint changes only when the sync succeeds; a failed sync changes nothing. Sync after each deploy that changes workflows; `--deployment` labels it (a commit, say).

Part of [`ezgh workflows apps`](/cli/reference/workflows-apps).

## Examples

```sh
ezgh workflows apps sync web --endpoint https://example.com/api/workflows --deployment "$GIT_SHA"
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--deployment` | string |  | a label for this deployment, up to 200 characters |
| `--endpoint` | string |  | the https URL to sync (default: the app's) |

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

Source: https://docs.ezghcloud.com/cli/reference/workflows-apps-sync/index.mdx
