This commit is contained in:
+2
-2
@@ -50,7 +50,7 @@ def handle_git(args):
|
|||||||
result = os.popen(cmd)
|
result = os.popen(cmd)
|
||||||
print(result.read())
|
print(result.read())
|
||||||
|
|
||||||
cmd = f'git init {INPUT_PATH}'
|
cmd = f'git -C ' INPUT_PATH + ' init'
|
||||||
exec_cmd(cmd)
|
exec_cmd(cmd)
|
||||||
|
|
||||||
sample_string = "x-access-token:" + TOKEN
|
sample_string = "x-access-token:" + TOKEN
|
||||||
@@ -77,7 +77,7 @@ def handle_git(args):
|
|||||||
value = 'git@codex.r10x.net:org-'+str(org_id)+'@github.com:'
|
value = 'git@codex.r10x.net:org-'+str(org_id)+'@github.com:'
|
||||||
exec_cmd(cmd)
|
exec_cmd(cmd)
|
||||||
|
|
||||||
cmd = 'git remote add origin ' + GITHUB_SERVER_URL + '/' + REPOSITORY
|
cmd = 'git -C ' INPUT_PATH + ' remote add origin ' + GITHUB_SERVER_URL + '/' + REPOSITORY
|
||||||
print(cmd)
|
print(cmd)
|
||||||
exec_cmd(cmd)
|
exec_cmd(cmd)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user