Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

revert: use id_rsa again

thecodrre574ac364d9e
diff --git a/apps/web/scripts/ci.sh b/apps/web/scripts/ci.sh
index f95c9021b..e4e94bd5a 100755
--- a/apps/web/scripts/ci.sh
+++ b/apps/web/scripts/ci.sh
@@ -14,14 +14,9 @@ function configure_ssh() {
mkdir -p "$SSH_HOME"
- if [[ "$HOME" == "/vercel" ]]; then
- KEY_NAME="id_rsa"
- elif [[ "$HOME" == "/home/runner" ]]; then # On Github Actions
- KEY_NAME="id_ed25519"
- fi
- echo "${GH_DEPLOY_KEY}" >"$SSH_HOME"/"$KEY_NAME" # We must use "id_rsa" file name, using a custom name will fail
+ echo "${GH_DEPLOY_KEY}" >"$SSH_HOME"/id_rsa # We must use "id_rsa" file name, using a custom name will fail
echo "GH_DEPLOY_KEY = ${GH_DEPLOY_KEY}"
- chmod 400 "$SSH_HOME"/"$KEY_NAME"
+ chmod 400 "$SSH_HOME"/id_rsa
ssh-keyscan -t rsa github.com >>"$SSH_HOME"/known_hosts # Look and make trust communications between github.com and the builder
}