From 99605802fe4c56246677b06220684effee4b120f Mon Sep 17 00:00:00 2001 From: Rohit Joshi Date: Thu, 5 Sep 2024 22:59:08 +0530 Subject: [PATCH] Adding example to push to multiple git remotes. (#1784) Co-authored-by: Dane Powell --- src/Command/Push/PushArtifactCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Command/Push/PushArtifactCommand.php b/src/Command/Push/PushArtifactCommand.php index 0c7d65e8b..96e03397b 100644 --- a/src/Command/Push/PushArtifactCommand.php +++ b/src/Command/Push/PushArtifactCommand.php @@ -60,7 +60,8 @@ protected function configure(): void . 'To run additional build or sanitization steps (e.g. npm install), add a post-install-cmd script to your composer.json file: https://getcomposer.org/doc/articles/scripts.md#command-events') ->addUsage('--destination-git-branch=main-build') ->addUsage('--source-git-tag=foo-build --destination-git-tag=1.0.0') - ->addUsage('--destination-git-urls=example@svn-1.prod.hosting.acquia.com:example.git --destination-git-branch=main-build'); + ->addUsage('--destination-git-urls=example@svn-1.prod.hosting.acquia.com:example.git --destination-git-branch=main-build') + ->addUsage('--destination-git-urls=example@svn-1.prod.hosting.acquia.com:example.git --destination-git-urls=example@svn-2.prod.hosting.acquia.com:example.git --destination-git-branch=main-build'); } protected function initialize(InputInterface $input, OutputInterface $output): void