We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01eb072 commit 697fd14Copy full SHA for 697fd14
bin/compile
@@ -6,11 +6,9 @@ ssh_key="$(cat $env_dir/SSH_KEY)"
6
if [ "$ssh_key" != "" ]; then
7
echo "-----> Running SSH private key setup"
8
9
- echo "$ssh_key" | base64 --decode > id_rsa
10
- eval `ssh-agent -s` || exit $?
11
- ssh-add id_rsa || exit $?
+ mkdir "$HOME/.ssh"
+ echo "$ssh_key" | base64 --decode > "$HOME/.ssh"
12
ssh -oStrictHostKeyChecking=no -T git@github.com
13
- rm id_rsa
14
else
15
echo "-----> No SSH private key"
16
fi
0 commit comments