Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/providers/digitalocean/digitalocean.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ The Defang CLI will automatically check if these envinonment variables are set b

### Deploy your project to DigitalOcean

Once you are ready to go, add the `--provider=digitalocean` to your command to tell the Defang CLI to use the DigitalOcean provider.

Once you are ready to go, add the `--provider=digitalocean` to your command to tell the Defang CLI to use the DigitalOcean provider or set the `DEFANG_PROVIDER` environment variable to `digitalocean`.
```bash
$ defang compose up --provider=digitalocean
# or
Expand Down
6 changes: 3 additions & 3 deletions docs/providers/gcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ gcloud init
gcloud auth application-default login
```

The Defang CLI will automatically check if `GCP_PROJECT_ID` environment variable is set and correctly authenticated with GCP before running. Once you are ready to go, add the `--provider=gcp` to your command to tell the Defang CLI to use the GCP provider.
The Defang CLI will automatically check if `GCP_PROJECT_ID` environment variable is set and correctly authenticated with GCP before running. Once you are ready to go, add the `--provider=gcp` flag to your command to tell the Defang CLI to use the GCP provider, or set the `DEFANG_PROVIDER` environment variable to `gcp`.

```bash
$ defang up --provider=gcp
$ defang compose up --provider=gcp
# or
$ DEFANG_PROVIDER=gcp defang up
$ export DEFANG_PROVIDER=gcp
```

## Location
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/deploy-to-gcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ After signing in to your GCP account, select an existing project or [create a ne

## Step 3 - Deploy

Invoke the `defang up` CLI command with the `--provider=gcp` flag or set the `DEFANG_PROVIDER=gcp` environment variable.
Invoke the `defang compose up` CLI command with the `--provider=gcp` flag or set the `DEFANG_PROVIDER=gcp` environment variable.

For example:

```bash
$ defang up --provider=gcp
$ defang compose up --provider=gcp
```

## Step 4 - Inspect your deployment
Expand Down
Loading