acquia / cli

Acquia CLI
GNU General Public License v2.0
42 stars 47 forks source link

Example to support / Push to multiple git remotes. #1784

Closed joshirohit100 closed 1 week ago

joshirohit100 commented 2 weeks ago

I have noticed about the confusion to push / use multiple git remotes the artifact.

This MR is adding an example/usage in command help for same.

Screenshot 2024-08-28 at 10 17 34 AM

Will this automatic generate / update doc https://docs.acquia.com/acquia-cloud-platform/add-ons/acquia-cli/commands/push:artifact or thats separate?

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.22%. Comparing base (c072606) to head (88ceab0). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1784 +/- ## ========================================= Coverage 92.21% 92.22% Complexity 1817 1817 ========================================= Files 121 121 Lines 6812 6813 +1 ========================================= + Hits 6282 6283 +1 Misses 530 530 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 2 weeks ago

Try the dev build for this PR: https://acquia-cli.s3.amazonaws.com/build/pr/1784/acli.phar

curl -OL https://acquia-cli.s3.amazonaws.com/build/pr/1784/acli.phar
chmod +x acli.phar
vyasamit2007 commented 1 week ago

This works for us on a actual proejct.

danepowell commented 1 week ago

Thanks for the PR! I've never tried providing multiple URLs but I trust this works as you've described.

docs.acquia.com should automatically get updated when this is merged.