mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 17:22:41 +01:00
138 lines
2.5 KiB
Markdown
138 lines
2.5 KiB
Markdown
<!-- DO NOT EDIT THIS FILE! -->
|
|
<!-- Instead edit recipe/symfony.php -->
|
|
<!-- Then run bin/docgen -->
|
|
|
|
# symfony
|
|
|
|
[Source](/recipe/symfony.php)
|
|
|
|
* Requires
|
|
* [common](/docs/recipe/common.md)
|
|
|
|
## Configuration
|
|
### symfony_version
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L8)
|
|
|
|
|
|
|
|
|
|
|
|
### shared_dirs
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L14)
|
|
|
|
Overrides [shared_dirs](/docs/recipe/deploy/shared.md#shared_dirs) from `recipe/deploy/shared.php`.
|
|
|
|
|
|
|
|
```php title="Default value"
|
|
[
|
|
'var/log',
|
|
]
|
|
```
|
|
|
|
|
|
### shared_files
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L18)
|
|
|
|
Overrides [shared_files](/docs/recipe/deploy/shared.md#shared_files) from `recipe/deploy/shared.php`.
|
|
|
|
|
|
|
|
```php title="Default value"
|
|
[
|
|
'.env.local'
|
|
]
|
|
```
|
|
|
|
|
|
### writable_dirs
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L22)
|
|
|
|
Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `recipe/deploy/writable.php`.
|
|
|
|
|
|
|
|
```php title="Default value"
|
|
[
|
|
'var',
|
|
'var/cache',
|
|
'var/log',
|
|
'var/sessions',
|
|
]
|
|
```
|
|
|
|
|
|
### migrations_config
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L29)
|
|
|
|
|
|
|
|
|
|
|
|
### doctrine_schema_validate_config
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L31)
|
|
|
|
|
|
|
|
|
|
|
|
### bin/console
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L33)
|
|
|
|
|
|
|
|
```php title="Default value"
|
|
'{{bin/php}} {{release_or_current_path}}/bin/console'
|
|
```
|
|
|
|
|
|
### console_options
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L35)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Tasks
|
|
|
|
### database:migrate
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L40)
|
|
|
|
Migrates database.
|
|
|
|
|
|
|
|
|
|
### doctrine:schema:validate
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L50)
|
|
|
|
Validate the Doctrine mapping files.
|
|
|
|
|
|
|
|
|
|
### deploy:cache:clear
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L55)
|
|
|
|
Clears cache.
|
|
|
|
|
|
|
|
|
|
### deploy
|
|
[Source](https://github.com/deployphp/deployer/blob/master/recipe/symfony.php#L64)
|
|
|
|
Deploys project.
|
|
|
|
|
|
|
|
|
|
This task is group task which contains next tasks:
|
|
* [deploy:prepare](/docs/recipe/common.md#deployprepare)
|
|
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deployvendors)
|
|
* [deploy:cache:clear](/docs/recipe/symfony.md#deploycacheclear)
|
|
* [deploy:publish](/docs/recipe/common.md#deploypublish)
|
|
|
|
|