fix ssh key not connecting
Some checks failed
Activate NixOS Homelab Configuration On Push / deploy (push) Has been cancelled
Some checks failed
Activate NixOS Homelab Configuration On Push / deploy (push) Has been cancelled
This commit is contained in:
parent
79aed28d47
commit
334b9e2fb9
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
ssh-keyscan -H localhost >> ~/.ssh/known_hosts
|
||||
ssh-keyscan -H localhost 127.0.0.1 ::1 >> ~/.ssh/known_hosts
|
||||
|
||||
- name: Deploy System over SSH
|
||||
run: nixos-rebuild switch --flake ./src#homelab --target-host root@localhost -L --show-trace
|
||||
Loading…
Add table
Add a link
Reference in a new issue