Skip to content

Commit 173f41b

Browse files
committed
Use my-env in examples for consistency
1 parent 01189d6 commit 173f41b

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ ow workers create my-api -d "REST API"
4141
ow workers get my-api
4242
ow workers deploy my-api ./worker.ts -m "Initial deploy"
4343
ow workers upload my-app ./dist # Upload folder with assets
44-
ow workers link my-api --env prod # Link environment
44+
ow workers link my-api --env my-env # Link environment
4545
ow workers delete my-api
4646
```
4747

@@ -53,18 +53,18 @@ Manage variables, secrets, and resource bindings.
5353

5454
```bash
5555
ow env list
56-
ow env create prod -d "Production"
57-
ow env get prod
56+
ow env create my-env -d "Production"
57+
ow env get my-env
5858

5959
# Variables and secrets
60-
ow env set prod API_URL "https://api.example.com"
61-
ow env set prod API_KEY "secret" --secret
62-
ow env unset prod OLD_VAR
60+
ow env set my-env API_URL "https://api.example.com"
61+
ow env set my-env API_KEY "secret" --secret
62+
ow env unset my-env OLD_VAR
6363

6464
# Bind resources
65-
ow env bind prod CACHE my-kv --type kv
66-
ow env bind prod DB my-db --type database
67-
ow env bind prod ASSETS my-storage --type assets
65+
ow env bind my-env CACHE my-kv --type kv
66+
ow env bind my-env DB my-db --type database
67+
ow env bind my-env ASSETS my-storage --type assets
6868

6969
ow env delete old-env
7070
```

0 commit comments

Comments
 (0)