Skip to content

Commit

Permalink
feat: update ssh key
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhauhau committed Mar 30, 2024
1 parent ddc420f commit 38b72fa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ jobs:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
run: |
set -ex
eval "$(ssh-agent -s)"
mkdir -p ~/.ssh
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 400 ~/.ssh/id_rsa
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
chmod 400 ~/.ssh/id_ed25519
ssh-add ~/.ssh/id_ed25519
- name: Install and Build
run: |
Expand Down

0 comments on commit 38b72fa

Please sign in to comment.