This commit is contained in:
Benjamin Toby 2026-03-14 11:18:49 +01:00
parent a7bef6de2a
commit be78ce3bc3

View File

@ -37,12 +37,15 @@ export default async function cronCheckServicesGit(
const service_git = git_array[i];
if (!service_git) continue;
if (!service_git.keep_updated) continue;
const git_url = service_git.repo_url;
const repo_name = grabGitRepoName({ git_url });
if (!repo_name) continue;
console.log(`Checking Service ${service.service_name} git ...`);
const relay_dst = path.join(
relayServerRsyncDir,
service.service_name,
@ -64,6 +67,8 @@ export default async function cronCheckServicesGit(
continue;
}
console.log(`Updating ${service.service_name} git ...`);
let cmd = ``;
const src = relay_dst + "/";