ssh sock
This commit is contained in:
parent
f1e4538f68
commit
02e9357a08
1 changed files with 3 additions and 1 deletions
|
@ -22,12 +22,14 @@ jobs:
|
|||
git config --global gpg.format "ssh"
|
||||
|
||||
- name: Setup SSH Key
|
||||
env:
|
||||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
|
||||
run: |
|
||||
mkdir -p /home/runner/.ssh
|
||||
echo "${{ secrets.SSH_KEY }}" > /home/runner/.ssh/action
|
||||
chmod 600 /home/runner/.ssh/action
|
||||
|
||||
ssh-agent -a /tmp/ssh_agent.sock > /dev/null
|
||||
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
|
||||
ssh-add /home/runner/.ssh/action
|
||||
|
||||
- name: Update lockfile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue