How to update Plesk Git deploy actions using CLI

I had to update the repository settings using the CLI because an update broke the Plesk UI. This was related to this issue.

While waiting for an official fix from Plesk, I could make it work by updating the Deploy actions using the CLI:

plesk ext git --update -domain mydomain.com -name mydomain.git -actions "/opt/plesk/php/8.2/bin/php /usr/lib64/plesk-9.0/composer.phar install > composer.log 2>&1"