disable password authentication for ssh, since this is run non-interactively
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
2
run
2
run
@@ -11,7 +11,7 @@ TARGET = os.environ['PLUGIN_TARGET']
|
||||
def deploy(source, target, keyfile):
|
||||
for source_file in glob.glob(source):
|
||||
print(f">> {source_file} -> {target}")
|
||||
run(["scp", "-i", keyfile, "-o", "StrictHostKeyChecking=no", "-r", source_file, target])
|
||||
run(["scp", "-i", keyfile, "-o", "StrictHostKeyChecking=no", "-o", "PasswordAuthentication=no", "-r", source_file, target], check=True)
|
||||
|
||||
temp_file_name = None
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user