deployer/docs/recipe/silverstripe.md

91 lines
1.8 KiB
Markdown
Raw Normal View History

2021-09-26 15:25:58 +02:00
<!-- DO NOT EDIT THIS FILE! -->
<!-- Instead edit recipe/silverstripe.php -->
<!-- Then run bin/docgen -->
# silverstripe
[Source](/recipe/silverstripe.php)
* Requires
* [common](/docs/recipe/common.md)
## Configuration
### shared_assets
[Source](https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L12)
### shared_dirs
[Source](https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L21)
Overrides [shared_dirs](/docs/recipe/common.md#shared_dirs) from `recipe/common.php`.
Silverstripe shared dirs
```php title="Default value"
[
'{{shared_assets}}'
]
```
### writable_dirs
[Source](https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L26)
Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `recipe/deploy/writable.php`.
Silverstripe writable dirs
```php title="Default value"
[
'{{shared_assets}}'
]
```
### silverstripe_cli_script
[Source](https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L31)
Silverstripe cli script
## Tasks
### silverstripe:build
[Source](https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L47)
Run /dev/build.
Helper tasks
### silverstripe:buildflush
[Source](https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L52)
Run /dev/build?flush=all.
### deploy
[Source](https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L60)
Deploy your project.
Main task
This task is group task which contains next tasks:
* [deploy:prepare](/docs/recipe/common.md#deployprepare)
* [deploy:vendors](/docs/recipe/deploy/vendors.md#deployvendors)
* [silverstripe:buildflush](/docs/recipe/silverstripe.md#silverstripebuildflush)
* [deploy:publish](/docs/recipe/common.md#deploypublish)