docs/recipe/deploy/clear_paths.md
<!-- DO NOT EDIT THIS FILE! -->
<!-- Instead edit recipe/deploy/clear_paths.php -->
<!-- Then run bin/docgen -->
# Clear Paths Recipe
```php
require 'recipe/deploy/clear_paths.php';
```
[Source](/recipe/deploy/clear_paths.php)
## Configuration
### clear_paths
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/clear_paths.php#L5)
List of paths to remove from [release_path](/docs/recipe/deploy/release.md#release_path).
### clear_use_sudo
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/clear_paths.php#L8)
Use sudo for deploy:clear_path task?
```php title="Default value"
false
```
## Tasks
### deploy:clear_paths
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/clear_paths.php#L11)
Cleanup files and/or directories.