Remove stricthostchecking

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2023-06-18 19:32:22 +05:30
parent 906e948b6c
commit 0f6201ab84
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5
2 changed files with 2 additions and 2 deletions

View file

@ -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()))

View file

@ -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()