This commit is contained in:
2
run
2
run
@@ -10,7 +10,7 @@ TARGET = os.environ['PLUGIN_TARGET']
|
||||
|
||||
def deploy(source, target, keyfile):
|
||||
for source_file in glob.glob(source):
|
||||
run(["scp", "-i", keyfile, "-o", "StrictHostKeyChecking=no", "-r", source_file, target])
|
||||
run(["scp", "-v", "-i", keyfile, "-o", "StrictHostKeyChecking=no", "-r", source_file, target])
|
||||
|
||||
with tempfile.NamedTemporaryFile() as deploy_key:
|
||||
deploy_key.write(os.environ['PLUGIN_KEY'].encode())
|
||||
|
||||
Reference in New Issue
Block a user