From f1622adcb5b96f59c7e1d54eb59be0a11cdb60c7 Mon Sep 17 00:00:00 2001 From: charleswrayjr Date: Fri, 5 Sep 2025 19:09:28 -0500 Subject: [PATCH] Testing cloning path. --- .idea/material_theme_project_new.xml | 4 +--- src/controllers/git.controller.js | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.idea/material_theme_project_new.xml b/.idea/material_theme_project_new.xml index af802c9..80aba9a 100755 --- a/.idea/material_theme_project_new.xml +++ b/.idea/material_theme_project_new.xml @@ -10,9 +10,7 @@ \ No newline at end of file diff --git a/src/controllers/git.controller.js b/src/controllers/git.controller.js index 84fe291..70d28da 100755 --- a/src/controllers/git.controller.js +++ b/src/controllers/git.controller.js @@ -101,6 +101,7 @@ module.exports = { const conn = new Client(); conn.on( 'ready', () => { + console.log('ready'); const commands = [`mkdir -p ${ deployPath }`, `chown ${ user }:${ user } ${ deployPath }`, `su - ${ user } -c "cd ${ deployPath } && git clone ${ user }@localhost:/opt/git/${ repoName }.git ."`,]; console.log(commands); console.log([...commands].join( ' && ' )); -- 2.43.0