Skip to content

Commit 3f49701

Browse files
committed
add example
1 parent 30d58f5 commit 3f49701

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/commands/env.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,15 @@ All commands for pipeline.
2121

2222
## Update Environment Variable
2323
`bb env update-variable <env-uuid> <var-uuid> <key> <value> <secured: 0>` Updates an environment variable.
24+
25+
## Example
26+
```bash
27+
env-update() {
28+
bb env update-variable \
29+
'{XXXX-YYYY-XXXX-YYYY-environment-uuid}' \
30+
'{XXXX-YYYY-XXXX-YYYY-variable-uuid}' \
31+
ENV \
32+
"$(cat ~/Code/project/.env| base64)" \
33+
1
34+
}
35+
```

0 commit comments

Comments
 (0)