This commit is contained in:
parent
fdfa0e48a0
commit
8ebfab1461
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
- name: Add SSH key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
||||
printf "%s" "${{ secrets.DEPLOY_KEY }}" | tr -d '\r' > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
ssh-keyscan -p 22 116.203.131.247 >> ~/.ssh/known_hosts
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue