Skip to content

Commit

Permalink
Using current_path instead of hardcoding current
Browse files Browse the repository at this point in the history
  • Loading branch information
null93 authored Nov 21, 2024
1 parent bdd0705 commit 37c0f29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipe/shopware.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,12 @@ function getPlugins(): array
if (!test('[ -d {{current_path}} ]')) {
return;
}
within('{{deploy_path}}/current', function () {
within('{{current_path}}', function () {
run('{{bin/php}} ./bin/console bundle:dump');
download('{{deploy_path}}/current/var/plugins.json', './var/');
download('{{current_path}}/var/plugins.json', './var/');

run('{{bin/php}} ./bin/console theme:dump');
download('{{deploy_path}}/current/files/theme-config', './files/');
download('{{current_path}}/files/theme-config', './files/');
});
});

Expand Down

0 comments on commit 37c0f29

Please sign in to comment.