no message

This commit is contained in:
hellcat 2025-06-30 15:31:50 +08:00
parent 83435aa892
commit d6435f75d5

View File

@ -107,6 +107,8 @@ class CronController
$sReadMe = ServiceGithub::GetReadMe($row); $sReadMe = ServiceGithub::GetReadMe($row);
putenv('GIT_SSH_COMMAND=ssh -F '.env("path_ssh")."/config");
// 没有文件夹,创建一个 // 没有文件夹,创建一个
if (!is_dir($this->sProjectPath)) { if (!is_dir($this->sProjectPath)) {
@ -156,7 +158,7 @@ class CronController
// 检查文件是否存在,如果不存在则创建 // 检查文件是否存在,如果不存在则创建
if (!file_exists($sshConfigFile)) { if (!file_exists($sshConfigFile)) {
// touch($sshConfigFile); touch($sshConfigFile);
} }
// 追加配置到文件 // 追加配置到文件