diff --git a/encrypt.py b/encrypt.py index c9a4011..ce59df9 100644 --- a/encrypt.py +++ b/encrypt.py @@ -33,7 +33,7 @@ enc_repo = os.environ.get("ENCRYPTED_REPO") enc_key = os.environ.get("ENCRYPTION_KEY") ssh_key = os.environ.get("SSH_SECRET_KEY") -git_ssh_cmd = f"ssh -o StrictHostKeyChecking=no -i {ssh_key}" +git_ssh_cmd = f"ssh -i {ssh_key}" # Create our encrypted directory base current_time = str(int(time())) diff --git a/trigger.py b/trigger.py index 1983598..e586704 100644 --- a/trigger.py +++ b/trigger.py @@ -17,7 +17,7 @@ content_repo_id = os.environ.get("CONTENT_REPO_ID") gitlab_token = os.environ.get("GITLAB_TOKEN") ssh_key = os.environ.get("SSH_SECRET_KEY") -git_ssh_cmd = f"ssh -o StrictHostKeyChecking=no -i {ssh_key}" +git_ssh_cmd = f"ssh -i {ssh_key}" # Get the time and create a tag of epoch cwd = os.getcwd()