@@ -38,7 +38,7 @@ The [deploy](#deploy) task of **Silverstripe** consists of:
3838 * [ deploy: shared ] ( /docs/recipe/deploy/shared.md#deploy-shared ) – Creates symlinks for shared files and dirs
3939 * [ deploy: writable ] ( /docs/recipe/deploy/writable.md#deploy-writable ) – Makes writable dirs
4040* [ deploy: vendors ] ( /docs/recipe/deploy/vendors.md#deploy-vendors ) – Installs vendors
41- * [ silverstripe: buildflush ] ( /docs/recipe/silverstripe.md#silverstripe-buildflush ) – Runs /dev/build?flush=all
41+ * [ silverstripe: buildflush ] ( /docs/recipe/silverstripe.md#silverstripe-buildflush ) – Rebuild database and cache
4242* [ deploy: publish ] ( /docs/recipe/common.md#deploy-publish ) – Publishes the release
4343 * [ deploy: symlink ] ( /docs/recipe/deploy/symlink.md#deploy-symlink ) – Creates symlink to release
4444 * [ deploy: unlock ] ( /docs/recipe/deploy/lock.md#deploy-unlock ) – Unlocks deploy
@@ -52,7 +52,8 @@ The silverstripe recipe is based on the [common](/docs/recipe/common.md) recipe.
5252### shared_assets
5353[ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L13 )
5454
55- Silverstripe configuration
55+ Path to the assets folder.
56+ Defaults to ` "public/assets" ` (or ` "assets" ` on older installations).
5657
5758``` php title="Default value"
5859if (test('[ -d {{release_or_current_path}}/public ]') || test('[ -d {{deploy_path}}/shared/public ]')) {
@@ -63,11 +64,11 @@ return 'assets';
6364
6465
6566### shared_dirs
66- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L22 )
67+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L21 )
6768
6869Overrides [ shared_dirs] ( /docs/recipe/deploy/shared.md#shared_dirs ) from ` recipe/deploy/shared.php ` .
6970
70- Silverstripe shared dirs
71+
7172
7273``` php title="Default value"
7374[
@@ -77,11 +78,11 @@ Silverstripe shared dirs
7778
7879
7980### writable_dirs
80- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L27 )
81+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L25 )
8182
8283Overrides [ writable_dirs] ( /docs/recipe/deploy/writable.md#writable_dirs ) from ` recipe/deploy/writable.php ` .
8384
84- Silverstripe writable dirs
85+
8586
8687``` php title="Default value"
8788[
@@ -90,10 +91,23 @@ Silverstripe writable dirs
9091```
9192
9293
94+ ### silverstripe_sake
95+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L33 )
96+
97+ Path to the ` sake ` binary.
98+ Defaults to ` "vendor/bin/sake" ` , if it exists.
99+ :::info Autogenerated
100+ The value of this configuration is autogenerated on access.
101+ :::
102+
103+
104+
105+
93106### silverstripe_cli_script
94- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L32 )
107+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L49 )
95108
96- Silverstripe cli script
109+ Deprecated option, retained for backward compatibility.
110+ For Silverstripe 6 and above, use ` silverstripe_sake ` instead.
97111:::info Autogenerated
98112The value of this configuration is autogenerated on access.
99113:::
@@ -105,23 +119,23 @@ The value of this configuration is autogenerated on access.
105119## Tasks
106120
107121### silverstripe\: build {#silverstripe-build}
108- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L48 )
122+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L65 )
109123
110- Runs /dev/build .
124+ Rebuild the database .
111125
112126Helper tasks
113127
114128
115129### silverstripe\: buildflush {#silverstripe-buildflush}
116- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L53 )
130+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L76 )
117131
118- Runs /dev/build?flush=all .
132+ Rebuild database and cache .
119133
120134
121135
122136
123137### deploy {#deploy}
124- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L61 )
138+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/silverstripe.php#L90 )
125139
126140Deploys your project.
127141
0 commit comments