You are looking at the docs for an older version (v0.8.2). The latest version is main.
	
            Task Directory
The directory attribute can be used to define a file path in which the task should run.
Syntax
Do this by adding a dir: or directory: between the task name and the script.
## Tasks
### Build
directory: ./src
```
sh build.sh
```