fix: Deployment SSH keys
All checks were successful
Deploy / Prepare Build (push) Successful in 3m41s
All checks were successful
Deploy / Prepare Build (push) Successful in 3m41s
This commit is contained in:
parent
d5f23c5059
commit
a22c81d7b5
@ -27,9 +27,8 @@ jobs:
|
||||
- name: Deploy containers
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
||||
chmod 600 ~/.ssh/known_hosts
|
||||
chmod 644 ~/.ssh/known_hosts
|
||||
eval $(ssh-agent -s)
|
||||
ssh-add <(echo "${{ secrets.SSH_PRIVATE_KEY }}")
|
||||
echo "HOST *" > ~/.ssh/config
|
||||
|
Loading…
Reference in New Issue
Block a user