Обновить execute.py

This commit is contained in:
2025-03-29 04:01:58 +03:00
parent 1ddfdf3fae
commit 1b9bf77f46

View File

@@ -17,7 +17,7 @@ sample_string_bytes = sample_string.encode("utf-8")
base64_bytes = base64.b64encode(sample_string_bytes)
base64_string = 'AUTHORIZATION: basic ' + base64_bytes.decode("utf-8")
cmd = 'git -c http.extraheader="'+base64_string+'" fetch origin'
cmd = 'git -c http.extraheader="'+base64_string+'" clone ' + os.getenv('GITHUB_SERVER_URL')
os.system(cmd)
print(f"Encoded string: {base64_string}")