Skip to content

Commit 2cb0015

Browse files
authored
Update documentation for secret placeholders
fix typo
1 parent 6853f8b commit 2cb0015

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/api.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ $path = run('readlink {{deploy_path}}/current');
358358
run("echo $path");
359359
```
360360

361-
Pass secrets via `%name%` placeholders so they are redacted in logs:
361+
Pass secrets via placeholders (e.g. `%token%`) so they are redacted in logs:
362362
```php
363363
run('curl -u admin:%token% https://api.example', secrets: ['token' => getenv('TOKEN')]);
364364
```

0 commit comments

Comments
 (0)