From b0c11dfa5d287297e10b61898fdbf950a249b5f8 Mon Sep 17 00:00:00 2001 From: 9pfs <9pfs@amcforum.wiki> Date: Sat, 6 Apr 2024 18:24:27 -0700 Subject: [PATCH] base64 encode the ssh key --- website-deploy-action.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website-deploy-action.sh b/website-deploy-action.sh index 8e78d3f..0df1bbf 100755 --- a/website-deploy-action.sh +++ b/website-deploy-action.sh @@ -5,7 +5,7 @@ # Apparently ssh is installed, lol # apt install -y openssh-client && \ mkdir ~/.ssh && \ -echo $DEPLOY_SSH_KEY > ~/.ssh/id_ed25519 && \ +echo $DEPLOY_SSH_KEY | base64 -d > ~/.ssh/id_ed25519 && \ cat nest-known-hosts-cache.txt > ~/.ssh/known_hosts && \ chmod -R go-rwx ~/.ssh && \ ssh -T -o UserKnownHostsFile=nest-known-hosts-cache.txt h@hackclub.app