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.
Examples
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.