no message
This commit is contained in:
parent
2ce815f0a7
commit
0902c0cdc3
@ -109,6 +109,9 @@ class CronController
|
||||
|
||||
putenv('GIT_SSH_COMMAND=ssh -F '.env("path_ssh")."/config");
|
||||
|
||||
$this->sshConfigAdd();
|
||||
|
||||
|
||||
// 没有文件夹,创建一个
|
||||
if (!is_dir($this->sProjectPath)) {
|
||||
|
||||
@ -165,7 +168,7 @@ class CronController
|
||||
file_put_contents($sshConfigFile, $config, FILE_APPEND | LOCK_EX);
|
||||
|
||||
// 设置文件权限
|
||||
chmod($sshConfigFile, 0600);
|
||||
// chmod($sshConfigFile, 0600);
|
||||
|
||||
echo "SSH config updated successfully.\n";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user