Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions recipe/shopware.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* ```php
* host('SSH-HOSTNAME')
* ->set('remote_user', 'SSH-USER')
* ->set('deploy_path', '/var/www/shopware') // This is the path, where deployer will create its directory structure
* ->set('http_user', 'www-data') // Not needed, if the `user` is the same user, the webserver is running with
* ->set('deploy_path', '/var/www/shopware') // This is the path where deployer will create its directory structure
* ->set('http_user', 'www-data') // Not needed, if the `user` is the same, the web server is running with
* ->set('http_group', 'www-data')
* ->set('writable_mode', 'chmod')
* ->set('writable_recursive', true)
Expand Down Expand Up @@ -50,7 +50,8 @@
'files',
'var/log',
'public/media',
'public/plugins'
'public/thumbnail',

Check failure on line 54 in recipe/shopware.php

View workflow job for this annotation

GitHub Actions / phpstan

Syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ']' or ')' on line 54

Check failure on line 54 in recipe/shopware.php

View workflow job for this annotation

GitHub Actions / lint (8.2)

Parse error: syntax error, unexpected single-quoted string "public/thumbnail", expecting "]" in recipe/shopware.php on line 54
'public/sitemap',
]);

Expand All @@ -65,13 +66,14 @@
'public/fonts',
'public/js',
'public/media',
'public/plugins'
'public/sitemap',

Check failure on line 70 in recipe/shopware.php

View workflow job for this annotation

GitHub Actions / phpstan

Syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ']' or ')' on line 70
'public/theme',
'public/thumbnail',
'var',
]);

// This sets the shopware version to the version of the shopware console command.
// This sets the Shopware version to the version of the Shopware console command.
set('shopware_version', function () {
$versionOutput = run('cd {{release_path}} && {{bin/console}} -V');
preg_match('/(\d+\.\d+\.\d+\.\d+)/', $versionOutput, $matches);
Expand Down Expand Up @@ -111,7 +113,7 @@
run('cd {{release_path}} && {{bin/console}} theme:refresh');
});

// This task is not used per default, but can be used, e.g. in combination with `SHOPWARE_SKIP_THEME_COMPILE=1`,
// This task is not used by default, but can be used, e.g. in combination with `SHOPWARE_SKIP_THEME_COMPILE=1`,
// to build the theme remotely instead of locally.
task('sw:theme:compile', function () {
run('cd {{release_path}} && {{bin/console}} theme:compile');
Expand Down
Loading