diff --git a/recipe/shopware.php b/recipe/shopware.php index aadf9b71f..763566e10 100644 --- a/recipe/shopware.php +++ b/recipe/shopware.php @@ -148,6 +148,16 @@ function getPlugins(): array 'deploy:publish', ]); +task('deploy:update_code')->setCallback(static function () { + upload('.', '{{release_path}}', [ + 'options' => [ + '--exclude=.git', + '--exclude=deploy.php', + '--exclude=node_modules', + ], + ]); +}); + task('sw-build-without-db:get-remote-config', static function () { if (!test('[ -d {{current_path}} ]')) { return;