File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ if [ -z "$SSH_KEY_E" ]; then
2424 ecode=1
2525elif git log -1 --pretty=format:%s | grep -qiF ' [squash]' ; then
2626 base64 -d <<< " $SSH_KEY_E" | gunzip -c > ~ /.ssh/id_ed25519
27- chmod 400 ~ /.ssh/id_ed25519
27+ chmod 600 ~ /.ssh/id_ed25519
2828 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
@@ -43,7 +43,7 @@ if [ -z "$SSH_KEY_E2" ]; then
4343 ecode=1
4444else
4545 base64 -d <<< " $SSH_KEY_E2" | gunzip -c > ~ /.ssh/id_ed25519
46- chmod 400 ~ /.ssh/id_ed25519
46+ chmod 600 ~ /.ssh/id_ed25519
4747 export GIT_SSH_COMMAND=" ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_ed25519"
4848
4949 rm -rf .github .gitignore * .sh CNAME
You can’t perform that action at this time.
0 commit comments