From: charleswrayjr Date: Sat, 6 Sep 2025 00:09:28 +0000 (-0500) Subject: Testing cloning path. X-Git-Url: https://git.phasecustomsoft.com/stylesheets/static/gitweb.js?a=commitdiff_plain;h=f1622adcb5b96f59c7e1d54eb59be0a11cdb60c7;p=phs-api.git Testing cloning path. --- 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( ' && ' ));