File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ if [ -z "$SSH_KEY_E" ]; then
2323 echo " SSH key not found!" >&2
2424 ecode=1
2525elif git log -1 --pretty=format:%s | grep -qiF ' [squash]' ; then
26- base64 -d <<< " $SSH_KEY_E" | gunzip -c > ~ /.ssh/id_rsa
27- chmod 400 ~ /.ssh/id_rsa
28- export GIT_SSH_COMMAND=" ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_rsa "
26+ base64 -d <<< " $SSH_KEY_E" | gunzip -c > ~ /.ssh/id_ed25519
27+ chmod 400 ~ /.ssh/id_ed25519
28+ export GIT_SSH_COMMAND=" ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_ed25519 "
2929
3030 git clone --depth=1 --branch=
" $BRANCH " " [email protected] :$REMOTE .git" work
3131 cd work
@@ -42,9 +42,9 @@ if [ -z "$SSH_KEY_E2" ]; then
4242 echo " Alternate SSH key not found!" >&2
4343 ecode=1
4444else
45- base64 -d <<< " $SSH_KEY_E2" | gunzip -c > ~ /.ssh/id_ecdsa
46- chmod 400 ~ /.ssh/id_ecdsa
47- export GIT_SSH_COMMAND=" ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_ecdsa "
45+ base64 -d <<< " $SSH_KEY_E2" | gunzip -c > ~ /.ssh/id_ed25519
46+ chmod 400 ~ /.ssh/id_ed25519
47+ export GIT_SSH_COMMAND=" ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_ed25519 "
4848
4949 rm -rf .github .gitignore * .sh CNAME
5050 git checkout --orphan temp
You can’t perform that action at this time.
0 commit comments