diff --git a/docs/recipe/shopware.md b/docs/recipe/shopware.md index 136005dc4..c3dc570d9 100644 --- a/docs/recipe/shopware.md +++ b/docs/recipe/shopware.md @@ -33,7 +33,7 @@ The [deploy](#deploy) task of **Shopware** consists of: * [deploy:setup](/docs/recipe/deploy/setup.md#deploysetup) – Prepares host for deploy * [deploy:lock](/docs/recipe/deploy/lock.md#deploylock) – Locks deploy * [deploy:release](/docs/recipe/deploy/release.md#deployrelease) – Prepares release - * [deploy:update_code](/docs/recipe/shopware.md#deployupdate_code) – + * [deploy:update_code](/docs/recipe/deploy/update_code.md#deployupdate_code) – Updates code * [deploy:shared](/docs/recipe/deploy/shared.md#deployshared) – Creates symlinks for shared files and dirs * [deploy:writable](/docs/recipe/deploy/writable.md#deploywritable) – Makes writable dirs * [sw:deploy](/docs/recipe/shopware.md#swdeploy) – @@ -277,14 +277,6 @@ This task is group task which contains next tasks: * [deploy:publish](/docs/recipe/common.md#deploypublish) -### deploy:update_code -[Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L153) - - - - - - ### sw-build-without-db:get-remote-config [Source](https://github.com/deployphp/deployer/blob/master/recipe/shopware.php#L163) diff --git a/src/Documentation/DocRecipe.php b/src/Documentation/DocRecipe.php index ad7166485..25cbdc3bf 100644 --- a/src/Documentation/DocRecipe.php +++ b/src/Documentation/DocRecipe.php @@ -132,7 +132,7 @@ public function parse(string $content) $currentTask = $task; break; } - if ($match('^task\([\'"](?[\w_:-]+?)[\'"]')) { + if ($match('^task\([\'"](?[\w_:-]+?)[\'"],')) { $task = new DocTask(); $task->name = $m['task_name']; $task->desc = $desc;