change ssh-add method
All checks were successful
Deploy zones / Deploy-Zones (push) Successful in 11s
All checks were successful
Deploy zones / Deploy-Zones (push) Successful in 11s
This commit is contained in:
parent
5822933464
commit
16d98603e9
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ jobs:
|
||||||
- name: Configure SSH client
|
- name: Configure SSH client
|
||||||
run: |
|
run: |
|
||||||
eval `ssh-agent -s`
|
eval `ssh-agent -s`
|
||||||
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" | tr -d '\r' | ssh-add -
|
||||||
mkdir -p $HOME/.ssh
|
mkdir -p $HOME/.ssh
|
||||||
chmod 700 $HOME/.ssh
|
chmod 700 $HOME/.ssh
|
||||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> $HOME/.ssh/known_hosts
|
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> $HOME/.ssh/known_hosts
|
||||||
|
|
Loading…
Reference in a new issue