|
12 | 12 | * ```php
|
13 | 13 | * host('SSH-HOSTNAME')
|
14 | 14 | * ->set('remote_user', 'SSH-USER')
|
15 |
| - * ->set('deploy_path', '/var/www/shopware') // This is the path, where deployer will create its directory structure |
16 |
| - * ->set('http_user', 'www-data') // Not needed, if the `user` is the same user, the webserver is running with |
| 15 | + * ->set('deploy_path', '/var/www/shopware') // This is the path where deployer will create its directory structure |
| 16 | + * ->set('http_user', 'www-data') // Not needed, if the `user` is the same, the web server is running with |
17 | 17 | * ->set('http_group', 'www-data')
|
18 | 18 | * ->set('writable_mode', 'chmod')
|
19 | 19 | * ->set('writable_recursive', true)
|
|
50 | 50 | 'files',
|
51 | 51 | 'var/log',
|
52 | 52 | 'public/media',
|
| 53 | + 'public/plugins' |
53 | 54 | 'public/thumbnail',
|
54 | 55 | 'public/sitemap',
|
55 | 56 | ]);
|
|
65 | 66 | 'public/fonts',
|
66 | 67 | 'public/js',
|
67 | 68 | 'public/media',
|
| 69 | + 'public/plugins' |
68 | 70 | 'public/sitemap',
|
69 | 71 | 'public/theme',
|
70 | 72 | 'public/thumbnail',
|
71 | 73 | 'var',
|
72 | 74 | ]);
|
73 | 75 |
|
74 |
| -// This sets the shopware version to the version of the shopware console command. |
| 76 | +// This sets the Shopware version to the version of the Shopware console command. |
75 | 77 | set('shopware_version', function () {
|
76 | 78 | $versionOutput = run('cd {{release_path}} && {{bin/console}} -V');
|
77 | 79 | preg_match('/(\d+\.\d+\.\d+\.\d+)/', $versionOutput, $matches);
|
|
111 | 113 | run('cd {{release_path}} && {{bin/console}} theme:refresh');
|
112 | 114 | });
|
113 | 115 |
|
114 |
| -// This task is not used per default, but can be used, e.g. in combination with `SHOPWARE_SKIP_THEME_COMPILE=1`, |
| 116 | +// This task is not used by default, but can be used, e.g. in combination with `SHOPWARE_SKIP_THEME_COMPILE=1`, |
115 | 117 | // to build the theme remotely instead of locally.
|
116 | 118 | task('sw:theme:compile', function () {
|
117 | 119 | run('cd {{release_path}} && {{bin/console}} theme:compile');
|
|
0 commit comments