no message
This commit is contained in:
parent
b0babc9dc7
commit
308c5c253f
@ -223,7 +223,7 @@ class CronController
|
||||
// 添加远程仓库
|
||||
$this->runCommand("git remote add origin \"{$this->sProjectUrl}\"");
|
||||
|
||||
echo "操作完成:以初始化仓库[$this->sProjectPath]。\n";
|
||||
echo "操作完成:以初始化仓库[".$this->aArticle['id']."]。\n";
|
||||
|
||||
}
|
||||
|
||||
@ -261,7 +261,7 @@ class CronController
|
||||
// 推送到远程主分支
|
||||
$this->runCommand('git push -u origin main'); // 确保将 'main' 替换为你的默认分支名称
|
||||
|
||||
echo "操作完成:已提交并推送更改[$this->sProjectPath]。\n";
|
||||
echo "操作完成:已提交并推送更改[".$this->aArticle['id']."]。\n";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -21,6 +21,7 @@ class Cmd extends Base {
|
||||
'文章clone' => "article#clone id",
|
||||
'git手动重置' => "git#pullR",
|
||||
'文章find' => "article#find id",
|
||||
'cron暂停' => "cron#pause 1",
|
||||
];
|
||||
|
||||
$this->oTGHttp->sendToTG(json_encode($aCmdList, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user