deployer/docs/recipe/drupal8.md
Anton Medvedev 4ecc4786de Fix docgen
2021-11-06 19:02:51 +01:00

82 lines
1.6 KiB
Markdown

<!-- DO NOT EDIT THIS FILE! -->
<!-- Instead edit recipe/drupal8.php -->
<!-- Then run bin/docgen -->
# drupal8
[Source](/recipe/drupal8.php)
* Requires
* [common](/docs/recipe/common.md)
## Configuration
### drupal_site
[Source](https://github.com/deployphp/deployer/blob/master/recipe/drupal8.php#L14)
Set drupal site. Change if you use different site
```php title="Default value"
'default'
```
### shared_dirs
[Source](https://github.com/deployphp/deployer/blob/master/recipe/drupal8.php#L18)
Overrides [shared_dirs](/docs/recipe/deploy/shared.md#shared_dirs) from `recipe/deploy/shared.php`.
Drupal 8 shared dirs
```php title="Default value"
[
'sites/{{drupal_site}}/files',
]
```
### shared_files
[Source](https://github.com/deployphp/deployer/blob/master/recipe/drupal8.php#L23)
Overrides [shared_files](/docs/recipe/deploy/shared.md#shared_files) from `recipe/deploy/shared.php`.
Drupal 8 shared files
```php title="Default value"
[
'sites/{{drupal_site}}/settings.php',
'sites/{{drupal_site}}/services.yml',
]
```
### writable_dirs
[Source](https://github.com/deployphp/deployer/blob/master/recipe/drupal8.php#L29)
Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `recipe/deploy/writable.php`.
Drupal 8 Writable dirs
```php title="Default value"
[
'sites/{{drupal_site}}/files',
]
```
## Tasks
### deploy
[Source](https://github.com/deployphp/deployer/blob/master/recipe/drupal8.php#L8)
This task is group task which contains next tasks:
* [deploy:prepare](/docs/recipe/common.md#deployprepare)
* [deploy:publish](/docs/recipe/common.md#deploypublish)