@@ -70,8 +70,8 @@ configure host:
70
70
``` php
71
71
host('SSH-HOSTNAME')
72
72
->set('remote_user', 'SSH-USER')
73
- ->set('deploy_path', '/var/www/shopware') // This is the path, where deployer will create its directory structure
74
- ->set('http_user', 'www-data') // Not needed, if the `user` is the same user , the webserver is running with
73
+ ->set('deploy_path', '/var/www/shopware') // This is the path where deployer will create its directory structure
74
+ ->set('http_user', 'www-data') // Not needed, if the `user` is the same, the web server is running with
75
75
->set('http_group', 'www-data')
76
76
->set('writable_mode', 'chmod')
77
77
->set('writable_recursive', true)
@@ -134,14 +134,15 @@ These directories are shared among all releases.
134
134
'files',
135
135
'var/log',
136
136
'public/media',
137
+ 'public/plugins'
137
138
'public/thumbnail',
138
139
'public/sitemap',
139
140
]
140
141
```
141
142
142
143
143
144
### writable_dirs
144
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L59 )
145
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L60 )
145
146
146
147
Overrides [ writable_dirs] ( /docs/recipe/deploy/writable.md#writable_dirs ) from ` recipe/deploy/writable.php ` .
147
148
@@ -158,6 +159,7 @@ Please note that the files in `config/jwt/*` receive special attention in the `s
158
159
'public/fonts',
159
160
'public/js',
160
161
'public/media',
162
+ 'public/plugins'
161
163
'public/sitemap',
162
164
'public/theme',
163
165
'public/thumbnail',
@@ -167,9 +169,9 @@ Please note that the files in `config/jwt/*` receive special attention in the `s
167
169
168
170
169
171
### shopware_version
170
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L75 )
172
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L77 )
171
173
172
- This sets the shopware version to the version of the shopware console command.
174
+ This sets the Shopware version to the version of the Shopware console command.
173
175
174
176
``` php title="Default value"
175
177
$versionOutput = run('cd {{release_path}} && {{bin/console}} -V');
@@ -182,15 +184,15 @@ return $matches[0] ?? '6.6.0';
182
184
## Tasks
183
185
184
186
### sw\: cache\: clear {#sw-cache-clear}
185
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L82 )
187
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L84 )
186
188
187
189
188
190
189
191
This task remotely executes the ` cache:clear ` console command on the target server.
190
192
191
193
192
194
### sw\: cache\: warmup {#sw-cache-warmup}
193
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L88 )
195
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L90 )
194
196
195
197
196
198
@@ -199,64 +201,64 @@ visits the website, doesn't have to wait for the cache to be built up.
199
201
200
202
201
203
### sw\: database\: migrate {#sw-database-migrate}
202
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L98 )
204
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L100 )
203
205
204
206
205
207
206
208
This task remotely executes the ` database:migrate ` console command on the target server.
207
209
208
210
209
211
### sw\: plugin\: refresh {#sw-plugin-refresh}
210
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L102 )
212
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L104 )
211
213
212
214
213
215
214
216
215
217
216
218
217
219
### sw\: scheduled-task\: register {#sw-scheduled-task-register}
218
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L106 )
220
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L108 )
219
221
220
222
221
223
222
224
223
225
224
226
225
227
### sw\: theme\: refresh {#sw-theme-refresh}
226
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L110 )
228
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L112 )
227
229
228
230
229
231
230
232
231
233
232
234
233
235
### sw\: theme\: compile {#sw-theme-compile}
234
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L116 )
236
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L118 )
235
237
236
238
237
239
238
- This task is not used per default, but can be used, e.g. in combination with ` SHOPWARE_SKIP_THEME_COMPILE=1 ` ,
240
+ This task is not used by default, but can be used, e.g. in combination with ` SHOPWARE_SKIP_THEME_COMPILE=1 ` ,
239
241
to build the theme remotely instead of locally.
240
242
241
243
242
244
### sw\: plugin\: update\: all {#sw-plugin-update-all}
243
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L128 )
245
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L130 )
244
246
245
247
246
248
247
249
248
250
249
251
250
252
### sw\: writable\: jwt {#sw-writable-jwt}
251
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L138 )
253
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L140 )
252
254
253
255
254
256
255
257
256
258
257
259
258
260
### sw\: deploy {#sw-deploy}
259
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L148 )
261
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L150 )
260
262
261
263
262
264
@@ -274,7 +276,7 @@ This task is group task which contains next tasks:
274
276
275
277
276
278
### deploy {#deploy}
277
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L159 )
279
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L161 )
278
280
279
281
Deploys your project.
280
282
@@ -291,23 +293,23 @@ This task is group task which contains next tasks:
291
293
292
294
293
295
### sw-build-without-db\: get-remote-config {#sw-build-without-db-get-remote-config}
294
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L178 )
296
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L180 )
295
297
296
298
297
299
298
300
299
301
300
302
301
303
### sw-build-without-db\: build {#sw-build-without-db-build}
302
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L191 )
304
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L193 )
303
305
304
306
305
307
306
308
307
309
308
310
309
311
### sw-build-without-db {#sw-build-without-db}
310
- [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L195 )
312
+ [ Source] ( https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L197 )
311
313
312
314
313
315
0 commit comments