Skip to content

Commit d459c14

Browse files
authored
Shopware recipe: Share theme folder for atomic themes (#4059)
1 parent 0f4fedd commit d459c14

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

docs/recipe/shopware.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,15 @@ These directories are shared among all releases.
134134
'files',
135135
'var/log',
136136
'public/media',
137+
'public/theme',
137138
'public/thumbnail',
138139
'public/sitemap',
139140
]
140141
```
141142

142143

143144
### 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)
145146

146147
Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `recipe/deploy/writable.php`.
147148

@@ -167,7 +168,7 @@ Please note that the files in `config/jwt/*` receive special attention in the `s
167168

168169

169170
### shopware_version
170-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L75)
171+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L76)
171172

172173
This sets the shopware version to the version of the shopware console command.
173174

@@ -182,15 +183,15 @@ return $matches[0] ?? '6.6.0';
182183
## Tasks
183184

184185
### sw\:cache\:clear {#sw-cache-clear}
185-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L82)
186+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L83)
186187

187188

188189

189190
This task remotely executes the `cache:clear` console command on the target server.
190191

191192

192193
### sw\:cache\:warmup {#sw-cache-warmup}
193-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L88)
194+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L89)
194195

195196

196197

@@ -199,39 +200,39 @@ visits the website, doesn't have to wait for the cache to be built up.
199200

200201

201202
### sw\:database\:migrate {#sw-database-migrate}
202-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L98)
203+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L99)
203204

204205

205206

206207
This task remotely executes the `database:migrate` console command on the target server.
207208

208209

209210
### sw\:plugin\:refresh {#sw-plugin-refresh}
210-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L102)
211+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L103)
211212

212213

213214

214215

215216

216217

217218
### sw\:scheduled-task\:register {#sw-scheduled-task-register}
218-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L106)
219+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L107)
219220

220221

221222

222223

223224

224225

225226
### sw\:theme\:refresh {#sw-theme-refresh}
226-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L110)
227+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L111)
227228

228229

229230

230231

231232

232233

233234
### sw\:theme\:compile {#sw-theme-compile}
234-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L116)
235+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L117)
235236

236237

237238

@@ -240,23 +241,23 @@ to build the theme remotely instead of locally.
240241

241242

242243
### sw\:plugin\:update\:all {#sw-plugin-update-all}
243-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L128)
244+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L129)
244245

245246

246247

247248

248249

249250

250251
### sw\:writable\:jwt {#sw-writable-jwt}
251-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L138)
252+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L139)
252253

253254

254255

255256

256257

257258

258259
### sw\:deploy {#sw-deploy}
259-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L145)
260+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L146)
260261

261262

262263

@@ -274,7 +275,7 @@ This task is group task which contains next tasks:
274275

275276

276277
### deploy {#deploy}
277-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L156)
278+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L157)
278279

279280
Deploys your project.
280281

@@ -291,23 +292,23 @@ This task is group task which contains next tasks:
291292

292293

293294
### 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#L175)
295+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L176)
295296

296297

297298

298299

299300

300301

301302
### sw-build-without-db\:build {#sw-build-without-db-build}
302-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L188)
303+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L189)
303304

304305

305306

306307

307308

308309

309310
### sw-build-without-db {#sw-build-without-db}
310-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L192)
311+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L193)
311312

312313

313314

recipe/shopware.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
'files',
5151
'var/log',
5252
'public/media',
53+
'public/theme',
5354
'public/thumbnail',
5455
'public/sitemap',
5556
]);

0 commit comments

Comments
 (0)