From 108ecfe1f1cfe045f70c7cb942c055031d02fb7f Mon Sep 17 00:00:00 2001 From: Andre Challier Date: Wed, 27 Mar 2024 16:42:31 +0100 Subject: [PATCH] made programm and server distinguishable --- webhooks-git/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webhooks-git/entrypoint.sh b/webhooks-git/entrypoint.sh index c641b75..bec8a3b 100644 --- a/webhooks-git/entrypoint.sh +++ b/webhooks-git/entrypoint.sh @@ -79,7 +79,8 @@ else fi # Create or append known_hosts -ssh-keyscan -H "${GIT_SERVER}" >> "${path_ssh}/known_hosts" +ssh-keyscan -H "${GIT_SERVER_PROGRAMM}" >> "${path_ssh}/known_hosts" +ssh-keyscan -H "${GIT_SERVER_ASSETS}" >> "${path_ssh}/known_hosts" echo "git and ssh configured." echo "Programm webhook public key (deploy key):"