Skip to content

Commit b38848f

Browse files
committed
docs: add tasks.task.dir
1 parent 8810161 commit b38848f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

website/src/docs/reference/schema.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,18 @@ tasks:
607607
- ./deploy.sh
608608
```
609609

610+
### `dir`
611+
612+
- **Type**: `string`
613+
- **Description**: The directory in which this task should run
614+
615+
```yaml
616+
tasks:
617+
current-dir:
618+
dir: '{{.USER_WORKING_DIR}}'
619+
cmd: pwd
620+
```
621+
610622
#### `requires`
611623

612624
- **Type**: `Requires`

0 commit comments

Comments
 (0)