From 3b9109659fbea310d2a7645f0517403b4d441e98 Mon Sep 17 00:00:00 2001
From: Jason Kridner <jkridner@beagleboard.org>
Date: Wed, 5 Jun 2024 12:55:55 -0400
Subject: [PATCH] remove host key checking

---
 gitlab-build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gitlab-build.sh b/gitlab-build.sh
index 1999df08..d154d12e 100755
--- a/gitlab-build.sh
+++ b/gitlab-build.sh
@@ -80,9 +80,9 @@ HERE
 			eval "$(ssh-agent -s)"
 			echo "${PRIVATE_KEY}" | base64 -d | ssh-add -
 			if [ "$VER_DIR" = "latest" ]; then
-				rsync -e 'ssh -p 45' -vP public/index.html docs@beagleboard.org:/var/www/docs/
+				rsync -e 'ssh -p 45 -o "StrictHostKeyChecking=no"' -vP public/index.html docs@beagleboard.org:/var/www/docs/
 			fi
-			rsync -e 'ssh -p 45' -avP --delete public/$VER_DIR/. docs@beagleboard.org:/var/www/docs/$VER_DIR
+			rsync -e 'ssh -p 45 -o "StrictHostKeyChecking=no"' -avP --delete public/$VER_DIR/. docs@beagleboard.org:/var/www/docs/$VER_DIR
 		fi
 	fi
 }
-- 
GitLab