diff --git a/.travis.yml b/.travis.yml index 74b16c4..e28c63a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,3 +23,5 @@ notifications: - "chat.freenode.net#kiwix" on_success: change on_failure: always +addons: + ssh_known_hosts: download.kiwix.org diff --git a/kiwix-deploy.py b/kiwix-deploy.py index be5b20d..a4b2ffc 100755 --- a/kiwix-deploy.py +++ b/kiwix-deploy.py @@ -53,7 +53,7 @@ class Deployer: def deploy(self, *files): if not files: return - command = "scp -v -p -i -o StrictHostKeyChecking=no {id_file} {files_list} {host_addr}".format( + command = "scp -v -p -i {id_file} {files_list} {host_addr}".format( id_file=self.options.ssh_private_key, files_list=' '.join("'{}'".format(f) for f in files), host_addr="{}:{}".format(self.options.server, self.options.base_path)