From b60424071fd720e2b196df3d4f05b3d91f2e7ff9 Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Wed, 5 Aug 2020 09:23:57 -0400 Subject: [PATCH] based on feedback from travis - try using this to add the key --- service/publish.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/service/publish.bat b/service/publish.bat index 58aa5c19..e916e410 100644 --- a/service/publish.bat +++ b/service/publish.bat @@ -73,6 +73,10 @@ CALL :FAIL %ERRORLEVEL% "git add failed" ssh-keyscan -H github.com >> ~/.ssh/known_hosts ssh -vT -i github_deploy_key git@github.com 2>&1 +@echo issuing ssh-keyscan -t rsa github.com 2>&1 >> /root/.ssh/known_hosts +ssh-keyscan -t rsa github.com 2>&1 >> /root/.ssh/known_hosts +ssh -vT -i github_deploy_key git@github.com 2>&1 + @echo issuing commit git commit -m "[ci skip] committing updated version information" 2>&1 CALL :FAIL %ERRORLEVEL% "git commit failed"