Skip to content

Commit 53d4616

Browse files
committed
make section consistent for cloud providers
1 parent 43df012 commit 53d4616

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

docs/providers/digitalocean/digitalocean.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ The Defang CLI will automatically check if these envinonment variables are set b
3939

4040
### Deploy your project to DigitalOcean
4141

42-
Once you are ready to go, add the `--provider=digitalocean` to your command to tell the Defang CLI to use the DigitalOcean provider.
43-
42+
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`.
4443
```bash
4544
$ defang compose up --provider=digitalocean
4645
# or

docs/providers/gcp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ gcloud init
2727
gcloud auth application-default login
2828
```
2929

30-
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.
30+
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`.
3131

3232
```bash
33-
$ defang up --provider=gcp
33+
$ defang compose up --provider=gcp
3434
# or
35-
$ DEFANG_PROVIDER=gcp defang up
35+
$ export DEFANG_PROVIDER=gcp
3636
```
3737

3838
## Location

docs/tutorials/deploy-to-gcp.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ After signing in to your GCP account, select an existing project or [create a ne
2727

2828
## Step 3 - Deploy
2929

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

3232
For example:
3333

3434
```bash
35-
$ defang up --provider=gcp
35+
$ defang compose up --provider=gcp
3636
```
3737

3838
## Step 4 - Inspect your deployment

0 commit comments

Comments
 (0)