20 lines
572 B
PHP
20 lines
572 B
PHP
<?php
|
|
return array (
|
|
'name' => 'opus_git_push_ssh_fallback',
|
|
'triggers' =>
|
|
array (
|
|
0 => 'git.{0,20}(push',
|
|
1 => 'commit',
|
|
2 => 'sync).{0,30}(fail',
|
|
3 => 'lock',
|
|
4 => 'credent)',
|
|
5 => 'credential.{0,20}(lock',
|
|
6 => 'error)',
|
|
7 => 'push.{0,20}fail',
|
|
),
|
|
'cmd' => 'bash -c \'cd /var/www/html && sudo -u www-data git push origin main 2>&1 | tail -5; sudo -u www-data git push origin --tags 2>&1 | tail -3\'',
|
|
'status' => 'PENDING_APPROVAL',
|
|
'created_at' => '2026-04-23T19:47:32+00:00',
|
|
'source' => 'opus4-autowire-early-v2',
|
|
);
|