# publish

> Publish the data contract to Entropy Data.

# `datacontract publish`

{/* AUTOGENERATED from `datacontract --help`: do not edit by hand; regenerate with update_command_docs.py */}

Publish the data contract to Entropy Data.

```bash
datacontract publish [OPTIONS] [LOCATION]
```

| Argument | Default | Description |
|---|---|---|
| `[LOCATION]` | `datacontract.yaml` | The location (url, s3 url, or local path) of the data contract yaml. |

| Option | Default | Description |
|---|---|---|
| `--json-schema` | — | The location (url or path) of the ODCS JSON Schema |
| `--ssl-verification` / `--no-ssl-verification` | `--ssl-verification` | SSL verification when publishing the data contract. |
| `--debug` / `--no-debug` | — | Enable debug logging |

```bash
datacontract publish datacontract.yaml
```

Guide: **[Publish to Entropy Data](../entropy-data.md)**.
