From 440fdfb6958d173cac1c5bd48b87dd80deb20145 Mon Sep 17 00:00:00 2001 From: Manoel Campos Date: Wed, 1 Jun 2022 22:05:23 -0300 Subject: [PATCH] Simplify push to gh-pages Removes the code to avoid confirmation about unknown host when pushing changes via ssh. The Checkout action already do that. Check the action ssh-known-hosts entry for details. --- entrypoint.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index f86a151..c6157e2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -98,12 +98,6 @@ git rm -rf .github/ || true echo "Committing changes to gh-pages branch" git commit -m "$MSG" 1>/dev/null -# Avoids confirmation about unknown host when pushing changes via ssh. -echo " -StrictHostKeyChecking no -UserKnownHostsFile=/dev/null -" > /etc/ssh/ssh_config - # If the action is being run into the GitHub Servers, # the checkout action (which is being used) # automatically authenticates the container using ssh.