no message
This commit is contained in:
parent
83435aa892
commit
d6435f75d5
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 追加配置到文件
|
// 追加配置到文件
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user