Skip to content

Commit

Permalink
docs: Update onboarding.md to use --environment kwarg for deploym…
Browse files Browse the repository at this point in the history
…ents (meltano#7750)
  • Loading branch information
GJMcClintock committed Jun 7, 2023
1 parent e18f91e commit 3a60eb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/_cloud/onboarding.md
Expand Up @@ -109,13 +109,13 @@ In order for pipelines to run, they must have a [deployment](/cloud/concepts#mel
To deploy a named [Meltano Environment](/concepts/environments) to Meltano Cloud, run the following [command](https://docs.meltano.com/cloud/cloud-cli#deployment):

```console
meltano-cloud deployment create --name <deployment name> --environment-name <Meltano Environment name> --git-rev <the git revision to use for this deployment>
meltano-cloud deployment create --name <deployment name> --environment <Meltano Environment name> --git-rev <the git revision to use for this deployment>
```

For example, if you wanted to deploy the `prod` Meltano Environment as defined in your `meltano.yml` in the `main` branch of your git repo and you wanted the Meltano Cloud deployment to be named `production`, you would run:

```console
meltano-cloud deployment create --name production --environment-name prod --git-rev main
meltano-cloud deployment create --name production --environment prod --git-rev main
```

To confirm that your deployment was created, you can view all of your Meltano Cloud deployments by running:
Expand Down

0 comments on commit 3a60eb2

Please sign in to comment.