Skip to content

Commit 4581fe9

Browse files
ci: new ssh key and signin steps
1 parent 0dfa122 commit 4581fe9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ jobs:
6060
- name: Set up SSH
6161
run: |
6262
mkdir -p ~/.ssh
63-
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
64-
chmod 600 ~/.ssh/id_rsa
63+
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
64+
chmod 600 ~/.ssh/id_ed25519
65+
eval "$(ssh-agent -s)"
66+
ssh-add ~/.ssh/id_ed25519
6567
ssh-keyscan github.com >> ~/.ssh/known_hosts
6668
env:
6769
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

0 commit comments

Comments
 (0)