no message
This commit is contained in:
parent
c90aee374b
commit
abb99a466f
@ -107,11 +107,6 @@ class CronController
|
|||||||
|
|
||||||
$sReadMe = ServiceGithub::GetReadMe($row);
|
$sReadMe = ServiceGithub::GetReadMe($row);
|
||||||
|
|
||||||
// putenv('GIT_SSH_COMMAND=ssh -F '.env("path_ssh")."/config");
|
|
||||||
|
|
||||||
// $this->sshConfigAdd();
|
|
||||||
|
|
||||||
|
|
||||||
// 没有文件夹,创建一个
|
// 没有文件夹,创建一个
|
||||||
if (!is_dir($this->sProjectPath)) {
|
if (!is_dir($this->sProjectPath)) {
|
||||||
|
|
||||||
@ -223,7 +218,7 @@ class CronController
|
|||||||
|
|
||||||
// 立即拉取覆盖一次
|
// 立即拉取覆盖一次
|
||||||
$this->runCommand("git fetch origin");
|
$this->runCommand("git fetch origin");
|
||||||
$this->runCommand("git reset --hard origin/main");
|
// $this->runCommand("git reset --hard origin/main");
|
||||||
|
|
||||||
echo "操作完成:以初始化仓库[".$this->aArticle['id']."]。\n";
|
echo "操作完成:以初始化仓库[".$this->aArticle['id']."]。\n";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user